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/MVC frameworks, doPost() handles HTTP POST requests for submitting form data to Action classes. doGet() handles GET requests (read operations). execute() is a Struts 1 method, validate() is for input validation. The question specifically asks about 'posting'.