Dave, ${#session.foo} works in struts.xml.
newton.dave wrote: > > --- On Tue, 6/24/08, John Smith <debr...@gmail.com> wrote: >> I like it to be automatically set, using the getter/setter >> methods in the action. Can this be done with either >> SessionAware or through ActionContext? > > No. ScopedModelDriven, IIRC, will also only retrieve the "model" property; > don't think it'll do arbitrary properties (could be wrong on that one, > though). > > You could try using an OGNL expression that references #session (like > ${#session.foo}) but I don't know if that'll work. After trying it, it'd > be nice if you reported back and/or added it to wiki (if it worked). > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Interceptor-to-access-session-objects-tp18088366p30549666.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org