...::: Recent Updates :::...

Monday, May 28, 2012

Write a Servlet to display all the headers available from request.



Write a Servlet to display all the headers available from request. 


Hint: display all the header content using all the header function available in the request header.


Display value for all the function:
getAuthType
getRemoteUser
getContentLength
getContentType
getHeaderNames
getMethod
getRequestURI
getQueryString
getProtocol


Step 1: Create HeaderInfo.Java using Packages Concepts for servlet which can handle all header functions.


Step 2: Create WEB.XML file for Mapping Servlet file.


No comments:

Post a Comment