Can't do it. HTTP does not handle this case. The best you could do is to front end the remote site (issue the request on behalf of the user). I assume that the other site is not under your direct control.
Gudy Xu wrote: >I'm dealing in a servlet or JSP with a request from a certain user. After some work, >I want lead the user to another active page which lies in a different site. When >redirecting I want to post several parameters to that page, and some parameters >should be kept secret to the user. The response.sendRedirect() method does change the >url to destination, but then the user will see all parameter values in his browser's >URL bar. That's bad. > >I have tried many ways, many tags. But I found they all eventually invoke the >response.sendRedirect() method with parameters encoded in the url string. That makes >no difference to me. > >Following is the structure of my app: > > >------------------- html page --------------- >+ user's browser + <--------------- + outside cgi + >------------------- params not shown --------------- > \ /| > \ / > \ / > \| / > ------------------ > + my servlet + > + redirect with + > + params + > ------------------ > >May people help. > > > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com