An implementation of this interface is passed to the servlet's doPost() and doGet() methods when a servlet is invoked. Methods on this interface allow you to retrieve request headers.
This message was edited 1 time. Last update was at by Bear Bibeault
michael ancheta
Greenhorn
Joined: Sep 25, 2009
Posts: 4
posted
0
Ok. Thanks for that.
michael ancheta
Greenhorn
Joined: Sep 25, 2009
Posts: 4
posted
0
this would work right?
I just need to import the necessary servlet classes.
This message was edited 1 time. Last update was at by michael ancheta
Bear Bibeault
Author and opinionated walrus
Marshal
Another tip: Be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the button on your post.
Bear Bibeault
Author and opinionated walrus
Marshal
but i think i did right. just want a verification.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
It returns an enumeration of the HTTP header names in the request, as described in its javadocs.
Is it returning the names of the headers in your request? You can use a tool like Firebug or any general network sniffer to check what's coming across "on the wire".