GTU WTAD Practical 11 : Write a Servlet to display all the headers available from request.

GTU WTAD Practical 11 : Write a Servlet to display all the headers available from request.

GTU WTAD Practical 11

Hope you have enjoyed previous article and successfully executed your first servlet program. If not you can refer it first how to start with servlet. In this program all the headers available in request object. Header is very useful to handle server side code. like from where request has came and ip address of the user this Request Header is also used to get used to generate different logs.

File Name : index.jsp

File Location : Tomcat_Apache\webapps\gtu11\

 

File Name : web.xml

File Location : Tomcat_Apache\webapps\gtu_11\WEB-INF\

 

File Name : AvailableHeaders.java

File Location : Tomcat_Apache\webapps\gtu11\WEB-INF\classes

Output

GTU WTAD Practical 11

 

 

Adarsh Patel

My Self Adarsh Suryakant Patel. Currently I am working as Assistant Professor at Parul Instiute of Engineering and Technology, MCA Department, Limda, Vadodara. Major Responsibility : * Lectures * Organizing Training and Expert Sessions for * Placement and Recruitment * Faculty Representative