I think it isn't a big problem. You only have to use class URL and URLConnection in package java.net in your servlet. It can make HTTP POST request to any url location, sending data through OutputStream. Then you can create your own stream to handle response data from that url.
Hope this help,
Siros
P.S. check out more here http://java.sun.com/docs/books/tutorial/networking/urls/index.html
-----Original Message-----
From: Juri Polonski [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, October 21, 1999 6:27 PM
To: [EMAIL PROTECTED]
Subject: How can I behave like a Browser
Please help me!
How do I make a POST request to any http-server from my java.servlet? I
have no information about this server but only the web-seit with one
form with a post action. I want to make my most request so that this
server thinks the request is comming from browser.
Juri Polonski
___________________________________________________________________________
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
