Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about Header

 
Krishna Srinivasan
Ranch Hand
Posts: 1874
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is Header & what is the use of that?
how can we use that in java servlets?

Advance Thanx.
 
Eelco den Heijer
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic