The class instantiates ActionForm and puts it in appropriate scope based on scope tag?
-
ActionServlet
-
ReuestProcessor
-
Action
-
HttpReuest
B
Correct answer
Explanation
The RequestProcessor is responsible for processing requests in Struts, including instantiating ActionForm instances and placing them in the appropriate scope (request, session, or application) based on the scope attribute in the struts-config.xml configuration. Option A is the controller servlet but delegates this work. Option C is incorrect as Action classes execute business logic. Option D is not a class.