aspose file tools*
The moose likes Servlets and the fly likes Servlet: Insert new request header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet: Insert new request header?" Watch "Servlet: Insert new request header?" New topic
Author

Servlet: Insert new request header?

Paul Ramsden
Greenhorn

Joined: Sep 22, 2000
Posts: 28
Hi all,
In a servlet, is it possible to insert a new header into the request before forwarding to a second servlet?
(I am trying to simulate an authentication product which inserts user-info headers into the request)
Thanks
Paul
------------------
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet: Insert new request header?
 
Similar Threads
Logged out access
Passing header in all subsequent HTTP Request
Adding new header to Request
Passing header parameters with the request
How to Use REFERER HTTP header