I have: struts.xml:
<constant name="struts.objectFactory" value="spring"/> <constant name="struts.configuration.xml.reload" value="false"/> <constant name="struts.devMode" value="false"/> <constant name="struts.ui.theme" value="bdv"/> <constant name="struts.locale" value="es_ve"/> <constant name="struts.tag.altSyntax" value="true"/> <constant name="struts.custom.i18n.resources" value="mensajes"/> <constant name="struts.freemarker.templatesCache" value="true"/> <constant name="struts.i18n.encoding" value="UTF-8"/> <constant name="struts.enable.DynamicMethodInvocation" value="true"/> <include file="struts-seguridad.xml"/> </struts> struts-seguridad.xml: <struts> <package name="seguridad" namespace="/seguridad" extends="default"> <action name="login" class="loginAction" method="login"> <result name="input">/WEB-INF/jsp/seguridad/login.jsp</result> <result name="error">/WEB-INF/jsp/seguridad/login.jsp</result> <result name="success">/WEB-INF/jsp/seguridad/login.jsp</result> </action> </package> </struts> Thanks for the help On Sun, Sep 22, 2013 at 1:49 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote: > Can you post your struts.xml? And you don't have such constant defined > <constant name="struts.enable.DynamicMethodInvocation" value="false" > /> ? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/9/22 Néstor Boscán <nestor.bos...@tcs.com.ve>: > > Yes and it doesn't work. It only works with "login". > > > > Thanks for the help > > > > On Sunday, September 22, 2013, Lukasz Lenart <lukaszlen...@apache.org> > > wrote: > >> 2013/9/22 Néstor Boscán <nestor.bos...@tcs.com.ve>: > >>> Hi > >>> > >>> <s:form name="login" method="post" action="login!login.action" > >>> validate="true"> > >> > >> Have you tried to use: login!login ? Attribute action expects action > >> name, not how it is rendered (i.e. if you change default action > >> extension to .html) > >> > >> > >> Regards > >> -- > >> Łukasz > >> + 48 606 323 122 http://www.lenart.org.pl/ > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >> For additional commands, e-mail: user-h...@struts.apache.org > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >