Thank you for the quick response.

What is the purpose of implementing the Parameters Interceptor then?

http://struts.apache.org/2.x/docs/how-can-we-access-request-parameters-passed-into-an-action.html

Map parameters = this.getParameters();

Thanks,
Cory

On 9/24/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
>
> Make sure that the class that you have mapped to 'steptwo' has a
> getter/setter for "previousaction"
>
> Then, in your execute method (or whichever method you may have mapped in
> your struts.xml file), you should be able to retrieve the values because
> the setter(s) are called beforehand.
>
> There are a few tutorials available online (including my own at
> http://www.wantii.com/wordpress/?cat=3)
>
> -W
>
> > -----Original Message-----
> > From: Cory D. Wiles [mailto:[EMAIL PROTECTED]
> > Sent: Monday, September 24, 2007 3:30 PM
> > To: Struts Users Mailing List
> > Subject: Accessing Request Parameters from Action (Newbie Question)
> >
> > What is considered the best practice for accessing request
> > parameters inside of an action?
> >
> > For example if I have a URL:
> > steptwo.action?previousaction=index.action then how do I
> > access "previous action"?
> >
> > Thanks,
> > Cory
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to