I have a
java webapp which is currently using
Struts 2.5. I am trying to upgrade it to Struts 6.
I followed the instructions in the following tutorial:
https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migration
However, in my struts.xml file, I have mappings like this:
When I try to follow a link like:
Search!startSearch.action
instead of calling the method startSearch, it silently drops the !startSearch and gives me an error about no execute method being found.
Has Struts 6 dropped support for the dynamic method="{1}" tags? I have other working actions with explicit methods like this:
The existing webapp does work with the {1} method syntax in Struts 2.5.
Any ideas about why the method="{1}" syntax doesn't work in Struts 6 and the best way to fix it?
Thanks!