How will you pass values from HTML to the servlet?

The values from an HTML page are passed to a servlet either through a GET or POST method. In a servlet, request.getParameter ("strParam") method is called in order to retrieve values from HTML form to a servlet end where String strParam represents the name of the input type OR values can be passed concatenated with URL itself which request the servlets receive.

0 comments :

 

Disclaimer
Interview Questions On Java,Java EE Copyright © 2018. Reads: best tracker