servlets is working fine with tomcate but when i use jsp pages in examples directory of tomcate there is an error.. 500 error class notdefFound javac main tools. can anybody help me pls. i'm still beginner in jsp. thanks
Make sure javac is on Tomcat's System Path (not Classpath). It needs to compile the JSP pages and therefore must be able to find the compiler (javac in this case). Once to add the appropriate path entry and things should work fine.
hi there, Even i had the same problem , the reasons r many to name a few r claspath setting ,wher u have stored the files , if u have two versions of servlet.jar, registry error. Wat i did was i formatted n made a fresh installation n they r workin now , why dont u tyr tht . bye take care send me the reply wat happened
This is going to sound strange... Look for tools.jar in your JDK directory. Make sure it is on the classpath for Tomcat or drop it in the extention directory.