|
Chris, The short answer is that a Java applet may not open a connection to any machine other than the one that served it. If it needs to get data, it should ask for it from its server, which could access from whatever sources. Chris Rehm javadisciple@earthlink.net If you believe that the best technology wins the marketplace, you haven't been paying attention. ----- Original Message ----- From: "Price, Chris" <chris_price@nsb.co.uk> To: <java400-l@midrange.com> Sent: Tuesday, July 31, 2001 6:09 AM Subject: JDBC & Applets > > Apologies in advance if this is a stoopid question, I'm new to this Java > stuff... > > I've written a Java Application, which uses JDBC to get some data from an > AS/400, and it works OK. > > When I try to run the same code in an Applet, I get a error - "access denied > (java.net.SocketPermission myAS400 resolve)" when testing with AppletViewer. > > Is what I'm doing impossible, due to the restrictions on Applets? > If not, what do I need to configure to get it to work? > > Thanks in advance > Chris. > +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.