I need a Servlet which will do the following: Take the input query string
and form data and call the same request to another Web server.

This Servlet will basically act as a relay.

For example:

If my servlet is on "www.me.com"

and I call it with an

http://www.me.com/servlet/relay?http://www.other.com/somepageorservlet?that
mayhaveitsownparams

and takes the data stream coming back and modifies all internal URL's to
www.other.com so they are prefixed with http://www.em.com/servlet/relay?

I may be using the wrong terms here (forward/relay) but has anyone written
such a Servlet?

Is the source available?  or a good example I can modify to work this way?
I need to be able to forward all form data if it was a post.

Thanks

___________________________________________________________________________
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