it does not work.
> >> >
> >> >
> >> > http://your_url:your_port
> >> > /your_struts.action?personBean.firstName=your_name
> >> >
> >> > I do not know the para
> Struts will not automatically populate fields based on parameters passed via
> the URL
I always use URL to binding parameters to Action.
And I have read source code of ParametersInterceptor, I think this
Interceptor will populate all the params to Action.
And it dose not treat params via URL o
rl:your_port
>> > /your_struts.action?personBean.firstName=your_name
>> >
>> > I do not know the parameter can be sent this way!!!
>> > Thanks.
>> >
>> >
>> > > struts wi
On Mon, Nov 29, 2010 at 6:55 AM, Jason Ferguson wrote:
> Struts will not automatically populate fields based on parameters passed
> via
> the URL. Your action will need to implement the ParameterAware interface,
> and the setParameters(Map parameters) method. Then you
> can
> use the map to popula
an.firstName=your_name
> >
> > I do not know the parameter can be sent this way!!!
> > Thanks.
> >
> >
> > > struts will try to inject value inside your bean.
> > >
> > > Does this answer your questio
t; /your_struts.action?personBean.firstName=your_name
>
> I do not know the parameter can be sent this way!!!
> Thanks.
>
>
> > struts will try to inject value inside your bean.
> >
> > Does this answer your question?
> >
> > 2010/11/29 maven apache :
&g
Thanks.
> struts will try to inject value inside your bean.
>
> Does this answer your question?
>
> 2010/11/29 maven apache :
> > BTW,this is a cross post at
> > stackoverflow<
> http://stackoverflow.com/questions/4300409/binding-paramters
he address bar
struts will try to inject value inside your bean.
Does this answer your question?
2010/11/29 maven apache :
> BTW,this is a cross post at
> stackoverflow<http://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form>
> .
&g
BTW,this is a cross post at
stackoverflow<http://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form>
.
2010/11/29 maven apache
>
>
>
>
>
>
>
>
>
> public class Register extends ActionSupport {
>
>
>
public class Register extends ActionSupport {
private static final long serialVersionUID = 1L;
private Person personBean;
//
}
Using the s:form tag one can bind the parameter from the client to a java
object(the personBean in the Register acti
10 matches
Mail list logo