getParameterNames

Read Client Form Data JSP 3 Ways Example

request is an object of HttpServletRequest and is one of the 9 implicit objects, 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. To retrieve what the client entered in the <form> fields, request object …

Read Client Form Data JSP 3 Ways Example Read More »

getParameterNames() Example Servlets

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), getParameterNames() and getParameterValues(String). These methods are inherited by HttpServletRequest interface. Following are the method signatures as defined in javax.servlet.ServletRequest interface. public java.lang.String getParameter(java.lang.String name): Returns the …

getParameterNames() Example Servlets Read More »