Hi,

I recently upgraded from struts 2.0.6 to 2.0.9.  I'm now getting a null 
exception when attempting to retried the session object from the request object 
associate with an action.

In the following code, the second line throws the exception, meaning that the 
first line returned null:
1 request = (HttpServletRequest) ActionContext.getContext().get(HTTP_REQUEST);
2 session = request.getSession(true);

what has changed in 2.0.9 to cause this error?  Any work around to access the 
request object?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to