🎴 Flashcard Mode

Mixed Programming Languages Quiz

Card1 / 20
Mastered0
Review0
QuestionClick to flip

How will you pass values from HTML page to the Servlet?

AnswerClick to flip back
A
request.getparameter () method
💡 Explanation:

To retrieve values from an HTML form, use request.getParameter() on the HttpServletRequest object. There is no setParameter() method on request, and response is for sending data back to the client, not receiving it.

Change Mode