how to access database thru applet running in a browser????
baba
Greenhorn
Joined: Feb 18, 2001
Posts: 8
posted
0
hi iam in a trouble .... my applet can access local as well as remote database when run thru appletviewer...but when run thru a browser doesnt perform nething...please help me out as soon as possible.....iam stuck badly thanx in advance baba
Stephanie Grasson
Ranch Hand
Joined: Jun 14, 2000
Posts: 347
posted
0
Baba, Please register with a proper name. "Baba" does not follow the conventions. See here for details: http://www.javaranch.com/name.jsp If you do not register properly, your account will be disabled. Thank you. Stephanie
arunKumar sk
Greenhorn
Joined: Mar 02, 2001
Posts: 1
posted
0
baba, if u want ur applet to use both the local and remote resources u need to sign the applet and u have to create a policy file to it since u intend to use the local dtabase it is violation of security and ur applet becomes untrusted
hope got the message bye aroon
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
arun: u have to create a policy file to it where, how? could you please elaborate on this, I have similar issues though, I signed my jar files. I changed my .hotjava\properties file to give permissions to read/write top c:\temp Thanks. - satya
but the .java.policy file i tried with makes the applet acces the database(be it local or remote) only when run with appletviewer but now when run in a browser as an html file pleaaz explain a bit extravagantly thanx
subject: how to access database thru applet running in a browser????