This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes System Property in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "System Property in web.xml" Watch "System Property in web.xml" New topic

System Property in web.xml

Dennis Labajo

Joined: Dec 12, 2009
Posts: 27
Hi all,

Is it possible to use a system property as parameter to a filter config in web.xml? The system property holds environment (dev/int/prod) specific value and prefer that this defined at the container level. That way I could get an EAR deployed to any environment without having to change any setting at deploy time. I tried using the ${} notation in web.xml and that doesn't work. Any ideas? Thanks.
I agree. Here's the link:
subject: System Property in web.xml
It's not a secret anymore!