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 <[email protected]>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 <[email protected]>:
> > Yes and it doesn't work. It only works with "login".
> >
> > Thanks for the help
> >
> > On Sunday, September 22, 2013, Lukasz Lenart <[email protected]>
> > wrote:
> >> 2013/9/22 Néstor Boscán <[email protected]>:
> >>> 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: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>