Re: Accessing web service from an applet

2002-11-21 Thread Scott Nichol
javadoc should not care what kind of source it's being run on. Scott Nichol - Original Message - From: "John Kirksey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 4:31 PM Subject: Re: Accessing web service from an applet

Re: Accessing web service from an applet

2002-11-21 Thread John Kirksey
PROTECTED]> > Sent: Tuesday, November 19, 2002 10:27 AM > Subject: Re: Accessing web service from an applet > > > > For security reasons, an applet can only connect to the host from > which > > is was loaded. See, e.g., http://java.sun.com/sfaq/#socket. > > > >

Re: Accessing web service from an applet

2002-11-19 Thread Tom Myers
John Kirksey wrote: Is it possible to access a web service from an applet? I am a part time Information Systems student, and I want to have an applet that connects to a stock quote service (among other things) java.security.AccessControlException: access denied (java.net.SocketPermission 66.

Re: Accessing web service from an applet

2002-11-19 Thread John Kirksey
Thanks to all for the advice, I'll let you know how it goes! Regards, John Kirksey - Original Message - From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 10:51 AM Subject: Re: Accessing web service from an ap

Re: Accessing web service from an applet

2002-11-19 Thread Scott Nichol
: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 10:27 AM Subject: Re: Accessing web service from an applet > For security reasons, an applet can only connect to the host from which > is was loaded. See, e.g., http://java.sun.c

Re: Accessing web service from an applet

2002-11-19 Thread Scott Nichol
For security reasons, an applet can only connect to the host from which is was loaded. See, e.g., http://java.sun.com/sfaq/#socket. The two things I have done to get around this are (1) set up a proxy on that host or (2) delegate actions to servlets. In your case, you could also consider writing

Re: Accessing web service from an applet

2002-11-19 Thread Alex Dovlecel
Hi This is all that I know and in fact I never used applets. So if there is someone qualified to explain this better... All I can say is this is related to java architecture. In fact this is the way it should happen. An appled is runned in a sandbox. That means that you are not allowed to do