The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Applet fetching data from database

Posted by Sadamahan Kubsad on September 27, 2000 at 5:19 AM

> By using an applet how is it possible to open and read data from a file in a web server

It is not possible to do that because of Java's security model. However what you can do is have a server program (servlet or CGI) that the applet can execute. The server program can read from the database and pass the result back to the applet.


Regards,

Sada




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us