[4730] in java-interest
Re: Connections to originating host using Netscape 2.0b5
daemon@ATHENA.MIT.EDU (Laurent Duperval)
Thu Jan 11 17:38:05 1996
From: laurent@Grafnetix.COM (Laurent Duperval)
Date: Thu, 11 Jan 1996 15:48:07 -0500
In-Reply-To: laurent@grafnetix.COM (Laurent Duperval)
"Connections to originating host using Netscape 2.0b5" (Jan 10, 9:59)
To: java-interest@java.sun.com
On Jan 10, Laurent Duperval writes:
> Subject: Connections to originating host using Netscape 2.0b5
> HI,
>
> I quote from the FAQ:
>
> Applets are not allowed to open network connections to any computer,
> except for the host that provided the .class files. This is either
> the host where the html page came from, or the host specified in the
> codebase parameter in the applet tag, with codebase taking
> precendence.
>
> I tried all manners (I think) of doing this and it fails. Any idea why? Is
> the FAQ wrong, am I wrong or is Netscape bugged? I can accept not being able
> to read/write files and have access to the internals of my system except from
> the applet viewer but this is documented stuff.
>
> I also heard about a patch that fixes this problem. Where can this patch be
> found? What are the implications when installing it?
>
> Thank you for any/all reponses.
>
I would like to thank everyone who volunteered an answer and told me (very
politely, I might add) that it could be done and that I was doing something
wrong.
The first answer I recived was from Godmar back
(http://www.cs.utah.edu/~gback/sendmail/index.html). After looking at his
code, I figured out that my problem was in the way I was using my output
stream. After fixing it to do something similar to his applet, it woked like I
expected it to.
I'm still looking for a list of errors (or exceptions thrown) for Java applets
and/or applications and explanations on how to resolve them. I'll go one step
further: if none exists, I'm willing to put them on my home page (which I
don't have yet because I've nothing to say) whenever anyone out there sends me
pertinent information. The information I need is:
Compile-time errors:
* Error message
* Reason for error message
* How to fix the error
Runtime-errors (exceptions thrown):
* Exception Name
* Exception message (if necessary)
* Reason for exception
* How to fix the error
If anyone else thinks I should do this in another manner, let me know.
--
Laurent Duperval, Systems Analyst Grafnetix Systems Inc.
Tel: (514) 861-3389 777, de la Commune Ouest
Fax: (514) 866-6206 Suite 101, Montreal, Qc
Laurent@Grafnetix.COM Canada, H3C 1Y1
URL: http://www.Grafnetix.COM
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com