I have installed Tomcat 5.0. I created one simple jsp file name as sample.jsp. I put in C:\Tomcat 5.0\webapps\jsp-examples\sample.jsp. But I could not able to run this program. Pls anyone help me. But Servlet program is working fine in my system.
This program is working fine in my colligue system. I have more confused. Why this is happend? I could not able to access default examples @ tomcat. Even i typed http://localhost:8080/jsp-examples/ i got this error "The requested resource (/jsp-examples/) is not available". Pls help me...
Hi, First clear your cache , through the IE browser - Tools - Internet Options - Delete files (Temporary Internet Files) . Check "Delete all offline content". Then restart Tomcat . Check again. Otherwise, Uninstalling it is the only option. Please check also the file name you are entering. I hope this helps.
I think the problem might be someother thing. JAVA_HOME variable must be set to jdk installation directory for the JSP COMPILER to work properly.
1) stop your TOMCAT if it is running 2) Ensure that JAVA_HOME & CATALINA_HOME is set 3) Restart your TOMCAT
With this everything should work properly.
please let us know, if the problem exists.
Only those who will risk going too far can possibly find out how far one can go !!!
Ram Kumar Rengarajan
Joined: Apr 28, 2005
I think the problem was in my web-inf folder. I did deleted web-inf folder which is in jsp-examples. After I pasted new one from my friend system. Now Jsp program is working fine. May be i deleted some files in my old web-inf folder. so i could not able to run it.
Now it is working fine. Thank you very much to all.