Yang XIAO wrote:

> Hi, there
>
> I'm developing a servlet to get data from a web server. Please does anyone
> know a method which can simulate the following command:
>
> telnet server:port
> GET https://requestmessage
>

See the class java.net.URLConnection.  There's some good examples of using this
in the Java Language Tutorial at (http://java.sun.com/docs/books/tutorial) --
see the Networking trail.

>
> thanks in advance
> Stella
>

Craig McClanahan

___________________________________________________________________________
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