It's not a secret anymore!
The moose likes Applets and the fly likes Error while connecting Applet to database within browser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply 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: 675

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: 16483
    
    2

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

Joined: Jul 03, 2011
Posts: 675

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error while connecting Applet to database within browser
 
Similar Threads
null pointer
Open office Integration in JavaSwing application gives an exception when a jar is created.
Populate Array of type Double from text file
Persistence.xml file not wokring in JGrasp IDE
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError