Tag: getParameterNames

Read Client Form Data JSP 3 Ways Example

November 30, 2014 · 6 min read
**request** is an object of **HttpServletRequest** and is one of the [9 implicit objects](http://way2java.com/jsp/jsp-made-simple-jsp-list-of-9-implicit-objects-and-scope/), JSP supports. **request** object is used to retrieve client's system (like IP address) information, client's browser (header) information and the data entered by the client in the <form> fields.

getParameterNames() Example Servlets

March 20, 2014 · 3 min read
One of the aspects of Servlets is reading the HTML/Applet data sent by the client like login data etc. For this, three methods exist in **ServletRequest** interface - [getParameter(String)](http://way2java.com/servlets/first-servlet-example-program-login-screen-validation/), [getParameterNames()](http://way2java.com/servlets/servlet-getparameternames-example/) and [getParameterValues(String)](http://way2java.com/servlets/servlets-getparametervalues-example/). These methods are inherited by **HttpServletRequest** interface.