Date: Fri, 21 Feb 1997 08:47:33 -0800
From: db@doppio (David Brownell - JavaSoft)
Message-Id: <199702211647.IAA07569@argon.eng.sun.com>
To: java-security@java, kamalp@mindware.soft.net
Subject: Re: Hi!
Actually, the HTTP protocol includes the ability to POST to
URLs so that this problem doesn't come up. This is the same
kind of stuff that HTML does with most FORMs. All the applet
needs to do is get the URL, get its URLConnection, narrow it
to type HttpURLConnection, enable output, then write the data
back to the URL.
This needs no additional support from Java ... except that
your webmaster needs to support your collecting data that
way, either with CGI scripts or (better) with Java Servlets.
- Dave
> From kamalp@mindware.soft.net Fri Feb 21 03:04:19 1997
> From: Kamal Prasad <kamalp@mindware.soft.net>
> To: "'java-security@java.sun.com'" <java-security@java>
> Subject: Hi!
> Date: Fri, 21 Feb 97 16:33:00 PST
> Encoding: 14 TEXT
>
>
> Hi!
> Java applets can read a URL from the server but cannot write to the URL.
> To write to a URL , u need a server to listen on aspecific port.
> I think if you can remove the restriction, that will facilitate more
> powerfull applets.
> Many applets need to communicate info gathered from client back to
> server.
> If all of them require one server each, you will soon run out of port
> numbers on the server.Further, my web master may give me the freedom to
> upload applets and web pages but certainly not the freedom to run
> daemons.
> Regards
> -kamal
>