Hi,
I have created a website and hosted on linux and
tomcat 6 combination. I have a very different problem.
The application could not detect the class files pasted in WEB-INF->classes folder when we access the
JSP file which is in subdirectory.
I created a class file with packages structure properly pasted in classes folder. I created a jsp file to just access that class file. The JSP is working fine when I access it from root folder. If i put it in subdirectory, it is throwing errors saying
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 11 in the jsp file: /Test.jsp
User cannot be resolved to a type
8:
9:
10:
11: <% User use = new User();
12:
13: Items item = new Items();
14:
The User class is properly pasted in classes folder. I also imported the class file. The same is running when I access website/Test.jsp and but not when i access website/abc/Test.jsp
Other .js , .html, .css files in the same subdirectory are successfully accessed.
Please help me in this.
Thanks
Sree