问题
I am migrating a struts 1 application to struts 2. In the struts 2 documentation which it compares the difference it says,
Struts 2 also supports the ActionForm pattern, as well as POJO form objects and POJO Actions.
But i dont find any classes similar to ActionForm or ValidatorForm in struts 1. So in this case how can i keep the existing ActionForm pattern in struts 1 with the new struts 2 jars.
回答1:
Then you need to read further
Rich object types, including business or domain objects, can be used as input/output objects. The ModelDriven feature simplifies taglib references to POJO input objects.
To keep existing ActionForm pattern see the Struts 1 Plugin.
来源:https://stackoverflow.com/questions/23102702/actionform-pattern-in-struts-2