Request header display in a jsp page

Advertisement

This is detailed jsp code that shows how to display request header information in a jsp page. When user request to the server, the request defines an object to provide client request information to a jsp.

Request header display in a jsp page

This is detailed jsp code that shows how to display
request header information in a jsp page. When user request to the server, the
request defines an object to provide client request information to a jsp. In
this example, request_header_jsp.jsp is used to display header
information on the page. Request object's getMethod() method returns request
method type i.e. GET or POST and getHeaderNames() method returns header names as
an enumeration which can be iterated to get each of them.

Jisha Madhu
March 22, 2011
how to display response in request page?
My request page have three text boxes. Enter register number in the first box then click the submit button.This time shows the name and mark to display the second and third boxes by under the register number.