Multiple choice technology programming languages

_________ method for posting the information in Action class

  1. doGet()

  2. doPost()

  3. execute()

  4. validate()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Struts Action classes, doPost() handles POST requests and doPost() is indeed used for posting information. doGet() handles GET requests. execute() is the older Struts 1.x method, and validate() is for input validation, not posting data.