Hi all, I currently use the tomcat in java webservice developer pack 1_0_01 and having some difficulties getting servlet to run. I tried to set the mapping in the web.xml file and gives the 404 resource not found problem. I put these files in packages. I only can able to run servlet through the invoker servlet ie the target is MyProj/servlet/classname. Is there anything that i am missing here? Sometimes the web.xml have difficulties refreshing although i change its content but still it doesn't change. Is there a way to refresh this web.xml?
Author and all-around good cowpoke
posted 11 years ago
Did you read the Invoker servlet FAQ. If you change web.xml you should stop and restart Tomcat to be sure. The sequence of elements in web.xml can be critical - you should have the servlet API or some other reference on hand. Bill