Hi Rick, I am using the Action page to forward requests to JSPs. No JSPs will be directly hit by users. Therefore, in the Action, I will dynamically create some objects that will be set in the request for the JSP to use. My question here is when user submits the form and there are errors found in the validate method, it will reload the JSP. However, all objects in the request scope are gone by that time and it will throw NullPointerException. In your remedy, do you mean I could re-set the objects to the request in the reset method too?
Thanks! Billy Ng >From: Rick Reumann <[EMAIL PROTECTED]> >Reply-To: Rick Reumann <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: How to handle this without using Session scope? >Date: Tue, 3 Sep 2002 12:07:00 -0400 > > > >On Tuesday, September 3, 2002, 11:46:14 AM, Rick wrote: > >RR> i but there must be a good solution I am overlooking for doing all >RR> of this with request scope. (For example what if it was a list of >RR> cars the user had to select from, I might not want that car list >RR> in session scope). > > Doh... I'm an idiot. I can just set it all up in the reset > method:) Sorry ...must have been the long weekend.... > > Oops and sorry I forgot the subject line modifier:) > > >-- > >Rick >mailto:[EMAIL PROTECTED] > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

