Try running your servlet from the address:

http://localhost:5001/core/servlet/HelloWWW


I ran into this problem and found several things that I changed to get it to work.  

1.  I moved it into a test directory and made the servlet part of a test package
  i.e.  package test;

I could not get the servlet to run from (in your case) /webapps/core/HelloWWW.  I had 
to do what I mentioned in 1.  As I gather this has to do with servlet mapping.  I 
ended up with a structure more like /webapps/core/test/HelloWWW

2. I deleted my web.xml file and let tomcat use the defaults.


I have gotten many of my servlets to work this way however, I'm still having trouble 
with tomcat finding my custom web.xml files.  I constantly get the error in the log 
that the web.xml file is missing for my webapp when it certainly isn't.  I've found 
other people with this problem but no solutions.  Apparently there is also a bug under 
2000 with root context and web.xml, but if you're experiencing that tomcat really 
shouldn't work at all.

Hope this helps, if anyone finds a solution to the missing web.xml problem please let 
me know.

Reply via email to