I resolved this issue...
 
We need to keep below line in struts.properties file
 
struts.enable.DynamicMethodInvocation = true
 
 
Thanks,
Sharath.


--- On Tue, 4/13/10, Lukasz Lenart <lukasz.len...@googlemail.com> wrote:


From: Lukasz Lenart <lukasz.len...@googlemail.com>
Subject: Re: Migrating struts2 version 2.0.11 to 2.1.8.1
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Tuesday, April 13, 2010, 11:32 AM


2010/4/13 sharath karnati <karna...@yahoo.com>:
> <s:submit value="Login" type="submit" method="checkLogin" cssClass="ibutton" 
> />
>
>  When I press this button it should call 'checkLogin' method in LoginAction 
> but it is not calling this method, it is just calling execute() method. I 
> even tried changing above line to name="method:checkLogin" but it is calling 
> exeute() method only??

It's disabled be default, you must change it with a constant (I don't
remember the name of constant ;-)


Regards
-- 
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




      

Reply via email to