• 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

change servlet mappin without restart.

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I try to have a servlet mapping where different path's lead to different servlets called (for nice looking url's).
i evaluated the possibility to put it into the web.xml, but when ever it is changed (very frequent)(when ever a new path with different functin is added) the web.xml should be reread. but as i found in other posts and at the tomcatwebsite, the web.xml will not be reread at a reload of the webapp, only when the webapp is restarted.
the problem is that the application contains some long running processes and they should not be disrupted.
My question is now:
Is there a possibility to put this mappings in a other file for easier reread and tomcat recognizes it as it would be in the web.xml .
And if thats not possible any suggestions how to solve the problem.
Thanx
Mike
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic