aspose file tools*
The moose likes Applets and the fly likes Error while connecting Applet to database within browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Error while connecting Applet to database within browser" Watch "Error while connecting Applet to database within browser" New topic
Author

Error while connecting Applet to database within browser

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Hi , I have an JApplet which is running fine under Netbeans but when i am putting it in browser using this html code
it throws some error while connecting to the database
Is is throwing an error because i have not signed the jar file before using it in web-browser or is it a class path issue of connector/J (Mysql) ?
if it is a class-path issue, what i need to do to resolve this ?
Note: I have set the environment variables under windows ...

This is line number 30 of Database.java


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18879
    
    8

Because you didn't sign the jar.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Paul Clapham wrote:Because you didn't sign the jar.

Ok thanks
and one more thing can an Applet send email ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while connecting Applet to database within browser