The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

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:

reply to your question

Posted by kanwar on April 17, 2001 at 5:29 AM

> Q1 :I have written a program which is handling access database
> when I am using it with java application using frames its running .
> but as soon as i use it with applet .Its giving me java.security
> exception .
> brief look
> public void init()
> {
> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver") -- at this statement its giving me the error
>
> Q2: Is there any method through which I can move the recordset backwards to show previous?
>

Reply to ur question
Actually applets are ment for the net and they dont allow you to access local files where as in frames you can access it directly as it is a related to window programing(standalone applications)just like vb so for making a connection through an applet you will have to communicate with a servlet or through rmi coz applets can only communicate with the webserver from which they are loaded so load your applet from a webserver(jws or any)and from there you can call a servlet which can give you the records.






Replies:

Sponsored Links



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