• 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

web.xml query

 
Author
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all
Is it necessary to re-start Tomcat after making changes in web.xml.
The reason I am asking this is, the solution provider where I got to host my servlet/JSP doesnt give me permission to re-start the same. But when I make entrie to web.xml, for servlet, it works but servlet mapping doesnt work. As a result, I have to specify a path like : http://www.xyz.com/servlet/<servlet name>
whereas I want to achieve a path like :
http://www.xyz.com/<servlet name>
Is there anyway I can do this..??
Tia
MB
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is possible to configure Tomcat to automatically reload webapps if it thinks something has been changed. This is done by setting in the main Tomcat configuration file server.xml. So usually when you modify web.xml, changes will be updated.
As for the trouble with the mappings, perhaps your provider is using Apache + Tomcat and only forwards /servlet/* requests to Tomcat. It's best to contact them and ask.
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this link can help you.
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
Cheers
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic