File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes getHeader() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getHeader()" Watch "getHeader()" New topic
Author

getHeader()

Alex Nguyen
Greenhorn

Joined: Jul 17, 2001
Posts: 1
Anyone know where there is a list online of all the headers you can retrieve with this method?
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
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

Joined: Jun 03, 2000
Posts: 5040

if you have tomcat, this is one of the examples.
even sample code is included.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getHeader()