[2921] in java-interest

home help back first fref pref prev next nref lref last post

Re: URLConnection

daemon@ATHENA.MIT.EDU (Russell East [ESRI-Redlands])
Fri Oct 20 21:58:26 1995

Date: Fri, 20 Oct 1995 17:14:24 -0700
From: reast@esri.com (Russell East [ESRI-Redlands])
To: jshermer@BASISinc.com
Cc: java-interest@java.Eng.Sun.COM, br.mjc@rlg.stanford.edu,
        flar@bendenweyr.Eng.Sun.COM

Thanks for the tip.  I have indeed looked at the Sun class notes,
and the page at
  http://www.entexcal.com:80/sunsacramento/java/java_material/04/16.html
gives quite a good example of how to use  URLConnection.getInputStream()

BUT, there is nothing there to answer my question about
URLConnection.getOutputStream() AND what this method is intended to do....

My question still remains, what is URLConnection.getOutputStream() 
intended to work with on the server side.

I assume that it is not legal to write into a remote html *file*, so this
would presumably leave writing to something like a CGI program.  If
this is the case, how is it possible to do this - I want to!

Thanks anyone who can help.				Russell

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  ESRI|   |    Russell East,                   E-mail: reast@esri.com
  ____|___|    ESRI                            http://www.esri.com/
      |   |    380 New York Street             Voice : +1 (909) 793 2853
  ____|___|    Redlands, Ca, 92373, USA        Fax   : +1 (909) 793 5953
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


: Date: Fri, 20 Oct 1995 15:49:45 -0700
: From: jshermer@BASISinc.com (Jill Shermer)
: To: reast@esri.com
: Subject: Re: URLConnection
: 
: You can access class notes that were prepared by Sun Microsystems, Inc.,
: which address program to program communication via URL and socket
: connection.  Have you seen this?  If not, visit
: 
: http://www.entexcal.com:80/sunsacramento/java/#schedule
: 
: You can find out various information about URLs, read and write
: from/to URL text files ....
: 
: 
: -Jill
: 
: ----- Begin Included Message -----
: 
: Date: Thu, 19 Oct 1995 11:50:01 -0700
: From: reast@esri.com (Russell East [ESRI-Redlands])
: To: java-interest@java.Eng.Sun.COM
: Subject: Re: URLConnection
: 
: Can anyone help with the following questions?
: 
: What is the purpose of URLConnection ?
: What can I do with URLConnection.getOutputStream() ?
: What is getOutputStream() intended to "talk" to ?
: Can I get something like a CGI script to communicate this way?
: (I've tried and couldn't find a way myself, but I'm no CGI expert)
: 
: Russell.
: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:   ESRI|   |    Russell East,                   E-mail: reast@esri.com
:   ____|___|    ESRI                            http://www.esri.com/
:       |   |    380 New York Street             Voice : +1 (909) 793 2853
:   ____|___|    Redlands, Ca, 92373, USA        Fax   : +1 (909) 793 5953
: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
: 
: : Date: Wed, 18 Oct 1995 19:13:44 -0700
: : From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
: : To: java-interest@java.Eng.Sun.COM, sybille@egd.igd.fhg.de
: : Subject: Re: URLConnection
: : 
: : Hi Sybille,
: : 
: : > using the JDK-prebeta I tried to construct an URL Connection as follows
: : > 
: : > myURL = new URL( ... );
: : > myConnection = new URLConnection(myURL);
: : 
: : Try "myConnection = myURL.openConnection()" instead...
: : 
: : 				...jim
: : -
: : Note to Sun employees: this is an EXTERNAL mailing list!
: : Info: send 'help' to java-interest-request@java.sun.com
: -
: Note to Sun employees: this is an EXTERNAL mailing list!
: Info: send 'help' to java-interest-request@java.sun.com
: 
: 
: ----- End Included Message -----
: 
: 
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post