[Resin-interest] AppScope variable in Resin.XML

2010-10-20 Thread Aaron Freeman
Is there a simple way to set an applicationScope variable from within the resin.xml? I see how to set system properties, but I'd like something I can reference from a JSP like: ${applicationScope.var} Or can I reference the system properties similarly? Thanks, Aaron

Re: [Resin-interest] AppScope variable in resin.xml

2010-10-20 Thread Aaron Freeman
Bah I stumbled on this, but it doesn't appear to do what I was hoping: context-param param-namebaz/param-name param-valuevalue/param-value /context-param When I tried to reference that in a test.jsp like this, it is empty: %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % html

Re: [Resin-interest] AppScope variable in resin.xml

2010-10-20 Thread Scott Ferguson
Aaron Freeman wrote: Bah I stumbled on this, but it doesn't appear to do what I was hoping: context-param param-namebaz/param-name param-valuevalue/param-value /context-param When I tried to reference that in a test.jsp like this, it is empty: %@ taglib

Re: [Resin-interest] AppScope variable in resin.xml

2010-10-20 Thread Aaron Freeman
On 10/20/2010 12:39 PM, Scott Ferguson wrote: Aaron Freeman wrote: Bah I stumbled on this, but it doesn't appear to do what I was hoping: context-param param-namebaz/param-name param-valuevalue/param-value /context-param When I tried to reference that in a test.jsp like this, it is

Re: [Resin-interest] AppScope variable in resin.xml

2010-10-20 Thread Scott Ferguson
Aaron Freeman wrote: On 10/20/2010 12:39 PM, Scott Ferguson wrote: Aaron Freeman wrote: Bah I stumbled on this, but it doesn't appear to do what I was hoping: context-param param-namebaz/param-name param-valuevalue/param-value /context-param When I tried to reference that