Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getHeader()

 
Alex Nguyen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know where there is a list online of all the headers you can retrieve with this method?
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
code the following in a doGet() or doPost() method of a servlet (or modify it to fit into a JSP).

You can similarly check the Parameter and Attribute values of the request object by using the appropriate getParameterNames() or getAttributeNames().
Hope this helps,
James.
[This message has been edited by james swan (edited July 17, 2001).]
[This message has been edited by james swan (edited July 17, 2001).]
[This message has been edited by james swan (edited July 17, 2001).]
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

if you have tomcat, this is one of the examples.
even sample code is included.
regds.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic