Thanks for the info. So, the solution is to use an "action" rather than trying to do this from the actionForm?
Scott ----- Original Message ----- From: "Adrian Brown" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 26, 2002 10:45 PM Subject: Re: Is httpServletRequest available in the ActionForm > Hi Scott, > > I think what you want to do is initialise the form > values? If so, use a request parameter to define an > initialise call on your Action, like this say: > > http://yourapp/upload.do?action=initialise > > check for this action parameter in your perform() > method of your action, and then fill in the initial > values if it equals 'initialise' and return a mapping > back to the jsp where you want the values displayed. > > If this is confusing, let me know and I'll put more > info in. > > If it is too easy, you may wish to consider using > DispatchAction to do the above, where the Dispatch > action automatically chooses to run a method based on > the value of a request parameter. > > Adrian > > > --- Aladar The Dinosaur <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Is "request" object available in the ActionForm? If > > so, how do I access it? > > > > I'm trying to populate actionForm properties with > > the information stored in > > the session, but don't know how to access the > > request object... by the way, > > I'm fairly new to java so if this is a newbie > > question please excuse. > > > > Thank you, > > Scott > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > http://mobile.yahoo.com.au - Yahoo! Messenger for SMS > - Always be connected to your Messenger Friends > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

