Re: Multiple parameter names

2014-06-03 Thread Mael Le Guével
Thanks Marc, I think it's the simplest solution. 2014-05-30 18:36 GMT+02:00 Marc Michele : > This is simple: > > public class MyAction extends ActionSupport { > private String myParam; > > public String getMyParam() { > return myParam; > } > > public void setMyParam(String

Re: Multiple parameter names

2014-05-30 Thread Marc Michele
This is simple: public class MyAction extends ActionSupport { private String myParam; public String getMyParam() { return myParam; } public void setMyParam(String myParam) { this.myParam = myParam; } public void setAnotherName(String myParam) { th

Re: Multiple parameter names

2014-05-30 Thread Chris Pratt
You could have your Action implement ParameterAware then handle the parameter map yourself. (*Chris*) On Fri, May 30, 2014 at 2:15 AM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > I think that is not possible. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragall

Re: Multiple parameter names

2014-05-30 Thread Yaragalla Muralidhar
I think that is not possible. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Fri, May 30, 2014 at 2:08 PM, Mael Le Guével wrote: > Hi, > Given the following action: > > public class MyAction extends ActionSupport { > private