How are html form input parameters passed in case of Struts 2
-
ActionForm
-
Action
-
All of the Above
-
None of the Above
B
Correct answer
Explanation
In Struts 2, HTML form parameters are automatically passed directly to Action classes via parameter interception. The Action class properties match form field names, and Struts 2 populates them automatically. ActionForm (used in Struts 1) is not required in Struts 2.