package miniforum; 
 
public class IConstants { 
    public static final String LOGIN_URL = "doLogin"; 
    public static final String LOGOUT_URL = "doLogout"; 
    public static final String EMPTY_URL = ""; 
    public static final String LOGIN_FORM = "login.jsp"; 
    public static final String MAIN_FORM = "main.jsp"; 
 
    public static final String CURRENT_USER = "CURRENT_USER"; 
    public static final String LAST_ERROR = "LAST_ERROR"; 
    public static final String ORIGINAL_URL = "ORIGINAL_URL"; 
    public static final String FORUM_MESSAGES = "MESSAGES"; 
 
    public static final String USER_PARAM = "username"; 
    public static final String PASSWORD_PARAM = "password"; 
    public static final String ID_PARAM = "id"; 
    public static final String SUBJECT_PARAM = "subject"; 
    public static final String CONTENTS_PARAM = "contents"; 
}
Back to Internet Programming with Java books's web site