Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime URL mapping

 
Gobiraj Vadivelrajan
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic