I'm still confused about how the SessionAware interface works. I'm
trying to write a page that gets called from a menu and hence the link
is a simple JSP link. The page attempts to check the user's session
through SessionAware but receives a null pointer exception for the
session being null. If I check for the session being null I can avoid
this but how then do I put anything in the user's session as the
server has no reference to the session object I created. BTW this is
the first call to this page in the application and so no session
information has been created.

Can anyone suggest a good way to ensure that the session is created
and can be accessed ? Perhaps SessionAware actions should receive an
empty map for empty sessions ?

-- 
Peter Kelley


_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to