• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet path problem

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic