I've got a method "input" in the action.
settint "struts.enable.DynamicMethodInvocation = true" solevd the problem.
--
View this message in context:
http://www.nabble.com/Update-to-Struts-2.1.7-tp24166101p24250172.html
Sent from the Struts - User mailing l
Are you saying you have a method called input() in the action or is it that
you are
getting a result code "input" which would imply a validation error?
-Original Message-
From: Pro1712
To: user@struts.apache.org
Sent: Tue, Jun 23, 2009 9:34 am
Subject: Update to St
On Wed, Jun 24, 2009 at 4:53 AM, Pro1712 wrote:
>
> But that's not my problem!
> What I forgot to mention in my first post is that I use dynamic method
> invocation and pass the param e.g. "method:input" to the action.
> Sorry for this...
No problem, but I was wondering how you knew which method y
hod "input" was not mapped
and so the default method "execute" is called
setting
struts.enable.DynamicMethodInvocation = true
solves the problem.
Is there a reason that this was changed? Or was this a bug in 2.1.6?
--
View this message in context:
http://www.nabble.com/Upd
e quelle diffusion non autorisée ou la copie de ceci
> est interdite. Ce message sert à l'information seulement et n'aura pas
> n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accep
t donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Tue, 23 Jun 2009 07:52:46 -0700
> Subject: Re: Update to Struts 2.1.7
> From: musa...@gmail.com
> To: user@struts.apache.org
>
emented the "execute" method to see if it is called because
> "input" does not get called any more...
> I also implemented "validateExecute" method for testing. And it get's called
> also.
>
> --
> View this message in context:
> http://www.nabbl
quot; method for testing. And it get's called
also.
--
View this message in context:
http://www.nabble.com/Update-to-Struts-2.1.7-tp24166101p24167035.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
t;
>
> In Struts 2.1.6 'input' was called when invoking the action.
> In Struts 2.1.7 'execute' is called.
>
> Why is ecexute called now?
> What is the default action that is called? How can I change it?
>
> Thanks for your help!
> --
> View this me
called? How can I change it?
Thanks for your help!
--
View this message in context:
http://www.nabble.com/Update-to-Struts-2.1.7-tp24166101p24166101.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
10 matches
Mail list logo