try something like:
URL u = new URL("http://www.mysite.com/myservlet");
InputStream is = u.openStream();
// do read & processing here
is.close();-----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Troshynski Sent: Wednesday, February 13, 2002 4:53 AM To: [EMAIL PROTECTED] Subject: Re: Connecting to a servlet through a GUI application. In the book, "Java Servlet Programming" by Jason Hunter and William Crawford (2nd Edition), Chapter 10 talks about "Applet-Servlet Communication". You can probably use some of the code in this chapter for application-servlet communication. Hope this helps. Bob Troshynski ___________________________________________________________________________ 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
