I'm curious about why you want to handle the request directly. I find when I am writing this sort of code, it is just a bad habit from years gone by.
Scott On 9/14/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote: > > 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] > > -- Scott [EMAIL PROTECTED]