• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

context-param in web.xml

 
Martin Carlsen
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to achieve the following in my web.xml file:



It seems like this doesn't work. Am I missing something, or isn't it possible to do so?
 
Rick Umali
Author
Ranch Hand
Posts: 32
5
Linux Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a post in JavaRanch titled "environment variable referance in Web.xml". It describes a technique where an environment variable (outside the web.xml) can be processed. This seems similar to what you want, with the one (big) change being that your SecurityFilter must "dereference" the variable. Check it out, and good luck!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic