struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken <ken.mcwilli...@aerose.com>
Subject Session object null
Date Tue, 18 May 2010 16:35:08 GMT
Hello Struts2 Forum,

I've used the session object to get and set parameters.  Where the set
is done in an action() and the get is done in a jsp via OGNL.

What I don't understand is I have an object who's constructor needs
session data...
So it calls:
Map session = ActionContext.getContext().getSession();

But session is always null... but when it gets to the JSP it has data!
I'm using Tomcat, any ideas?

Ken.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message