using wild cards in action. If you don't want to switch between methods 
dynamically,
Use switch methods dynamically.

In action class:

execute() as default

method_name2()
method_name3()......


that is to call execute then you should remove the "*" from the name, remove 
method
parameter, and then struts2 will assume execute should be called by default.
Need to keep the wild cards setup in struts.xml.

Is there a way, if no method names specified in jsp/tiles/struts, the default execute() method is called for Action Class please?

If no such way, there will be too many places have to change /ActionName to "/executeActionName".......

Do not have this issue for 2.3.x.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to