struts2strutsstruts-1

How to use ActionForm, ActionForward, DispatchAction, ActionMessages in Struts2


I am converting application from struts1 to struts2 so I need to use ActionForm, ActionForward, DispatchAction, ActionMessages. How I can use that in struts 2?


Solution

  • If you convert an app from Struts 1 to Struts 2 then you don't need to use these classes because they belong to Struts 1, but if you want to use struts2-struts1-plugin then you can use them. Note that using this plugin is not easy and requires some effort to configure such application. See Struts 1 Plugin.