Hi,
I'm using struts-2.3.4 and running apache tomcat 7.
I have a form in search.jsp. There are two submit buttons: "Search"
and "Add New" button. I had set each button with their own method
attribute:
In struts.xml:
http://struts.apache.org/dtds/struts-2.3.dtd";>
Hi,
Never mind, I had found the solution: you have to set
"struts.enable.DynamicMethodInvocation" to true.
On Tue, Nov 13, 2012 at 7:52 PM, yang shoujun wrote:
> Your form action shoud be employAction!doSearch.do
>
> Wu Ming 编写:
>
>>Hi,
>>
>>I'm u
Nov 19, 2012 at 4:23 PM, Lukasz Lenart
wrote:
> 2012/11/13 Wu Ming :
>> Hi,
>>
>> Never mind, I had found the solution: you have to set
>> "struts.enable.DynamicMethodInvocation" to true.
>
> Did you try out that solution [1] ?
>
> [1] https://cwiki.a
On Mon, Nov 19, 2012 at 5:49 PM, Wu Ming wrote:
>
> Clearly, the solution (using boolean property) in the example doesn't work
> (I tried in v2.4). I think somebody has to update the tutorial page.
>
>
Sorry, I got typo. I mean struts v2.3.4, not v.2.4.
s interceptor is used in Injecting the Request Parameters into the
> Action, either individually or (using the ParameterAware interface) all at
> once.
> (*Chris*)
>
>
> On Sun, Nov 25, 2012 at 3:07 AM, Wu Ming wrote:
>
> > I read this tutorial<
> > http:/
kes those parameters and calls the corresponding mutators on
> the Action.
> (*Chris*)
>
>
> On Sun, Nov 25, 2012 at 3:40 AM, Wu Ming wrote:
>
> > Hi,
> >
> > Is Request Parameters has same meaning with the Action's property field
> > (the
e struts-default
> stack.
> (*Chris*)
>
>
> On Sun, Nov 25, 2012 at 11:01 PM, Wu Ming wrote:
>
> > So is that means struts 2 is using params interceptor implicitly?
> >
> >
> > On Mon, Nov 26, 2012 at 10:12 AM, Chris Pratt > >wrote:
> >
> &g
Thanks, that's enlightening.
On Mon, Nov 26, 2012 at 3:41 PM, Maurizio Cucchiara
wrote:
> On 26 November 2012 09:25, Wu Ming wrote:
> >
> > Oh, so that means there is no point to define the params interceptor in
> > Action mapping (as seen below) because it's i
8 matches
Mail list logo