aspose file tools
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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