This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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?