http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-407
i also attached an example that demonstrates when its happening (when a property called from a sitemesh decorator is called and that property calls ActionContext.getContext().getSession()
even ServletActionContext.getRequest() is returning null in the same situation.
Jason Carreira wrote:
What version of WW, what servlet container, etc?
-----Original Message----- *From:* Patrick Holzmann [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, November 25, 2003 11:12 AM *To:* [EMAIL PROTECTED] *Subject:* [OS-webwork] Problem with getting session from ActionContext in Action (WW2-Beta2)
Hi all,
I am having problems using the ActionContext.getContext().getSession(). This call always returns null though the ActionContext itself is not null. Using SessionAware also gave me null on the session.
Somebody knows what I'm doing wrong or what the problem is?
Thanks and cheers Patrick
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork