Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

context-param in web.xml

 
Martin Carlsen
Greenhorn
Posts: 6
  • 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: 33
5
Linux Ruby VI Editor
  • 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!
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic