2014-05-26 18:00 GMT+02:00 Antonio Sánchez <ads...@gmail.com>: > That's not working for me. > > OK: /person -> com.myapp.actions.PersonAction#execute (SUCCESS) -> > person.jsp > > FAILS: /person-edit -> com.myapp.action.PersonAction#edit -> person-edit.jsp > (FAILS even annotating with @Action)
Hm... right, I'm a bit confused I was sure it supposed to work :\ > INSTEAD:/person-edit -> NO ACTION METHOD CALLED -> person-edit.jsp DIRECTLY > > However: > > OK: /person-edit -> com.myapp.action.PersonEditAction#execute (SUCCESS) -> > person-edit.jsp > > It seems only "execute" method is able to be found and run, even using > @Action annotation: /person-edit is matching PersonEditAction#execute(), but > not @Action("edit") PersonAction#edit(). Try setting struts.convention.action.mapAllMatches = true 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