This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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