Re: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Cory D. Wiles
es > > > > > -Original Message- > > From: Cory D. Wiles [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 24, 2007 3:47 PM > > To: Struts Users Mailing List > > Subject: Re: Accessing Request Parameters from Action (Newbie > > Question) > &g

RE: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Wesley Wannemacher
st > Subject: Re: Accessing Request Parameters from Action (Newbie > Question) > > 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-pa > r

Re: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Cory D. Wiles
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 PR

RE: Accessing Request Parameters from Action (Newbie Question)

2007-09-24 Thread Wesley Wannemacher
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 f