File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Runtime URL mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Runtime URL mapping" Watch "Runtime URL mapping" New topic
Author

Runtime URL mapping

Gobiraj Vadivelrajan
Greenhorn

Joined: Dec 10, 2001
Posts: 29
I like to know whether I can add servlet URL mapping at runtime.

For e.g. Based on some environment variables I like to set the URL mapping to be different

For e.g If the environment is dev then I have mapping for a servlet like

/context/dev

For qa I will have /context/qa .


I don't want to set this in
web.xml as I like to have the same web.xml in all environments


Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Runtime URL mapping