Multiple choice technology architecture

What are the parameters available in an Action class method?

  1. Action Mapping

  2. Action Form

  3. HttpServletRequest

  4. HttpServletResponse

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

The execute() method in a Struts Action class receives four parameters: ActionMapping (describes the action mapping), ActionForm (contains form data), HttpServletRequest (the HTTP request object), and HttpServletResponse (the HTTP response object). These provide all necessary context for request processing.