El mar 27 may 2014 08:04:48 CEST, Lukasz Lenart escribió:
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 :\
I believe that is not a Conventions feature, but would be great to be.
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
Already tried; it didn't work.
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org