I have this New user registration form. I user AccountBean to store data from a form. and check make sure all fields are fill. and process.jsp use that bean..and send to retry.jsp or to success.jsp..I also put both AccountBean.java and Its .class file in WEB-INF class folder but its going to this error:
HTTP ERROR: 500 Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 2 in the
jsp file: /jsp/ac/process.jsp Generated
servlet error: /var/tmp/Jetty_0_0_0_0_8888__group24_j2ee/jsp/ac/process$jsp.java:61: Class org.apache.jsp.AccountBean not found. AccountBean formHandler = null; ^ An error occurred at line: 2 in the jsp file: /jsp/ac/process.jsp Generated servlet error: /var/tmp/Jetty_0_0_0_0_8888__group24_j2ee/jsp/ac/process$jsp.java:64: Class org.apache.jsp.AccountBean not found. formHandler= (AccountBean) ^ An error occurred at line: 2 in the jsp file: /jsp/ac/process.jsp Generated servlet error: /var/tmp/Jetty_0_0_0_0_8888__group24_j2ee/jsp/ac/process$jsp.java:69: Class org.apache.jsp.AccountBean not found. formHandler = (AccountBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "AccountBean"); ^ 3 errors, 1 warning