I've written a small application consisting of an html page, a jsp page and a java class which I'l trying to deploy on tomcat 6.0 I'm getting the following error: An error occurred at line: 13 in the jsp file: /update.jsp update cannot be resolved to a type 10: String test_val=request.getParameter("test_val"); 11: String v1=request.getParameter("v1"); 12: String v2=request.getParameter("v2"); 13: update obj=new update(); 14: obj.setValues(test_id , test_val , v1 , v2); 15: obj.getId(); 16: obj.getTestVal();
The HTML page and the JSP are placed under $install_dir/webapps/ROOT directory and the java file is under $install_dir/webapps/ROOT/WEB-INF/classes directory. The TOMCAT_HOME, JAVA_HOME, classpath variables are all set in my environment. I just cant make out whats going wrong where. Help is really appreciated!!!