*
The moose likes Applets and the fly likes Applets + JDBC + MySQL = access denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets + JDBC + MySQL = access denied" Watch "Applets + JDBC + MySQL = access denied" New topic
Author

Applets + JDBC + MySQL = access denied

Lucas Mello
Greenhorn

Joined: Jul 25, 2009
Posts: 1
Hello all.

I'm getting the following error when trying to run my applet:



The code is:



I spent some hours googling stuff, but it was useless.
I think that the problem may be that the database server is different from the page server.
I also came with results about signing applets. Will signing my applet help?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Lucas Mello wrote:I think that the problem may be that the database server is different from the page server.
I also came with results about signing applets. Will signing my applet help?


If that's true (about the servers) then yes, signing the applet should help.
VineetK Singh
Ranch Hand

Joined: Jun 02, 2009
Posts: 47
Lucas

You need to sign your applet. Either self sign it or obtain a certificate from authorized agency like Verisign.


Copy Paste is a design error!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applets + JDBC + MySQL = access denied
 
Similar Threads
java.policy setting not reflecting
Connect Exception from ws cleint axis
please I urgently need help
applet socketpermissions
Access denied error for midi file in same directory as applet!