[2578] in java-interest
protocol classes and cgi
daemon@ATHENA.MIT.EDU (Larry Liang)
Thu Oct 5 00:35:06 1995
Date: Wed, 4 Oct 1995 23:03:14 -0400
From: Larry Liang <lliang@bellcore.com>
To: java-interest@java.sun.com
Two questions:
I was reading the URL.java code, and noticed that the only protocols
handled by default are: doc, file, and http. Although there are ftp,
nntp, and smtp classes (not handlers, why?) in the sun/net directory,
they are not handled by URL. Is there a reason why or it's only
temporary?
Second question, I tried to open a http connection to a CGI script and
pass input to it to simulate a form, but I got a "Output not supported
for this protocol" exception. Am I missing something?
Larry
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com