Re: Upgrade issue with getting the Http Request from an action

2007-09-15 Thread stanlick
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 nu

Re: Upgrade issue with getting the Http Request from an action

2007-09-14 Thread Dave Newton
--- Session A Mwamufiya wrote: > Any work around to access the request object? Yes, implement ServletRequestAware. http://struts.apache.org/2.0.9/docs/how-can-we-access-the-httpservletrequest.html d. - To unsubscribe, e-mail:

Upgrade issue with getting the Http Request from an action

2007-09-14 Thread Session A Mwamufiya
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 reques