Tomcat 4.1.29 simply don't run my HelloWorld servlet
bengt hammarlund
Ranch Hand
Joined: Oct 17, 2003
Posts: 78
posted
0
I just downloaded Tomcat 4.1.29 (zip format) and I'm running a WinXP box w/512MB RAM. I've made a simple (my first actually) servlet and it just don't run on my Tomcat! Well, it does run flawlessly if I copy it to the webapps/examples/WEB-INF/classes directory. But in mine webapps/eclipse1/WEB-INF/classes it does no run!! Even the deployment descriptor is the same file, copy/pasted! CATALINA_HOME, JAVA_HOME and the rest are all set! What's wrong?! Anyone can give me a clue?! The fact is: if any servlet is NOT at the examples/WEB-INF/classes directory it gives me a HTTP 404 error. [ November 03, 2003: Message edited by: bengt hammarlund ]
<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11863
posted
0
Search recent posts and your web.xml for "invoker" servlet. The examples app has the invoker turned on, the ROOT does not. Bill