Hi all,

I want to forward a request from one servlet to another, but I want to
change the remote user in the calling servlet, something like this

doGet(HttpServletRequest req, HttpServletResponse) {
   RequestDispatcher rd = req.getRequestDispatcher("url to next
servlet");
   req.setRemoteUser("newuser");
   rd.forward(req,res);
 }

Of course the setRemoteUser does not exist, any ideas how I can do this?

Thanks.

Pablo

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to