aspose file tools*
The moose likes Servlets and the fly likes about Header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "about Header" Watch "about Header" New topic
Author

about Header

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

what is Header & what is the use of that?
how can we use that in java servlets?

Advance Thanx.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
You can read HTTP headers with ; in HTTP you can specify meta-info on the request; what kind of content does the client accept, what languages are supported, what are the specifics of the web browser etc. Some of these headers are wrapped for you in specific methods, but you can read all the headers using getHeader. There is also a method which return an Enumeration for all header names.
For more detailed info:
Servlet API


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about Header