Hi all, I created a bean compile it on c:\java directory and then I placed my java file and class file in TOMCAT-HOME\webapps\examples\WEB-INF\classes When I tried to acces my form and hit the submit button I got Internal server error as follows. type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 1 in the jsp file: /SaveName.jsp Can Somebody tell me where I m wrong? Is it possible to directly compile java program in TOMCAT-HOME\webapps\examples\WEB-INF\classes directory instead of compiling in other directory and then copied java file and class file in tomcat classes directory. Thanks, Ash
Yes, you can compile directly in the classes directory. I found that after re-compiling a bean, I needed to get another start another session so that you are using an instance of the new bean...not trying to use the old one. Or, you may just have an error in your JSP. Jason