Hi, I installed Tomcat4.1.24. I could load jsp files in TOMCAT_HOME/webapps/ROOT directory into browser like this: http://localhost:8080/sample.jsp but I could not load servlets classes from TOMCAT_HOME/webapps/ROOT/WWEB-INF/classes into the brwowser: http://localhost:8080/servlet/myservlet I found the "invoker" in the TOMCAT-HOME/conf/web.xml file , Turn it on ,just like this <servlet-mapping> <servlet-name>invoker</servlet-name> <url-pattern>/servlet/*</url-pattern> </servlet-mapping> But I still can't load servlet class after restart the server. Anybody can help me? thanks!
Just one more thing to Sergey Kurenkov's solution. I guess, you probably need to prefix the 'example' in your URL to invoke your servlet. It should look like the following http://localhost:8080/examples/myservlet
The more I learn, the less I know....<br /> <br />SCJP2 <br />SCWCD
subject: trouble loading servlet class on Tomcat4.1.24