Hi list, I am trying to call execute method of my UserRegistrationAction class but it doesn't call the method. Here is the code of my struts.xml :
<struts> <constant name="struts.enable.DynamicMethodInvocation" value="false"/> <constant name="struts.devMode" value="false"/> <package name="company" extends="tiles-default"> <action name="d_*" class="com.company.action.{1}" method="input"> <result type="tiles">{1}</result> <result name="input" type="tiles">{1}</result> </action> <action name="LoginAction" class="com.company.action.LoginAction" method="execute"> <result type="redirect">d_UserRegistrationAction</result> <result name="input" type="tiles">LoginAction</result> </action> <action name="UserRegistrationAction" class="com.company.action.UserRegistrationAction" method="execute"> <result type="tiles">d_UserListAction</result> <result name="input" type="tiles">d_UserListAction</result> </action> </package> </struts> In above code when I am calling execute for LoginAction action its working fine but when I do the same for UserRegistrationAction, the execute method of this class is not getting called instead its giving error *java.lang.NoSuchMethodError: com.company.delegate.UserDelegate.add(Lcom/blisstech/dto/UserDTO;)J com.company.action.UserRegistrationAction.execute(UserRegistrationAction.java:175) * Any help will be much appreciated. Thanks in advance. -- Ashish