File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets + JDBC + MySQL = access denied

 
Lucas Mello
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20166
24
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lucas

You need to sign your applet. Either self sign it or obtain a certificate from authorized agency like Verisign.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic