Quantcast
Channel: S. Nageswara Rao, Corporate Trainer – Way2Java
Viewing all articles
Browse latest Browse all 505

Get all parameters of HTML form with getParameterNames()

$
0
0
In the first simple program Login Screen Validation, the data sent by the client is extracted from HttpServletRequest object req, using getParameter(String) method. The getParameter(String) method works to read a single text box (or any FORM field) only. The HttpServletRequest interface comes with another method getParameterNames() (inherited from ServletRequest interface) to read all the FORM […]

Viewing all articles
Browse latest Browse all 505

Trending Articles