Tag: read all html fields servlets

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.