This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In my experience with Struts2 I could not see the replacement of DispatcAction. In Struts1 the possibility to associate methods of the Action class with specific URL (using the parameter attribute in struts.config) was really useful but it seems now it is no longer available in Struts2. Is it because of the new architecture (loosely coupled with the Servlet API)? Or is there another way to do request-method mapping?
You could say that now DispatchAction is now the default in Struts 2. You can execution any no-arg method on an action by using the "action!method" syntax, so if you had an action at "accounts.do", you can execute its list method via "accounts!list.do". And yes, you can also turn this feature off or use wildcards to use a different technique to specifying methods.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com