Either open a UrlConnection or Socket and send the request.
Later Read from inputStream of URlConnection/Socket.

Awdhesh

----- Original Message -----
From: John Bell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:30 PM
Subject: send and read response to remote server from servlet


> Hi,
>
> >From within a servlet I need to send something like
> "http://secure.epdq.co.uk/cgi-bin?clientid=1234&total=12";
> and read the response programatically.
>
> Thanks,
> John
>
> --------------------------------------------------------------------------
-----------------------
> Save time by using an eTicket and our Self-Service Check-in Kiosks. For
more information go to http://www.britishairways.com/eservice1
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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