dev@glassfish.java.net

access system vars within web.xml

From: stuartr <stuart.russell_at_sun.com>
Date: Thu, 27 Aug 2009 16:02:40 -0700 (PDT)

Can someone assist me with what must be a simple issue.

I am migrating apps from tomcat to glassfish and need to alllow my Spring
context to initiate within the web.xml definition.
For example , in tomcat , I can power up tomcat with -Dmyvar=/a/b/c and
within the web.xml of my app I cant access

${myvar}/config.properties

However, it would appear that this is tomcat cat specific.

How do you access a system property var within your application context,
web.xml and/or spring
config files when using glassfish ?

Thanks for any help
Stu




-- 
View this message in context: http://www.nabble.com/access-system-vars-within-web.xml-tp25181369p25181369.html
Sent from the java.net - glassfish dev mailing list archive at Nabble.com.