Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Bundling mysql-connector with my applet

  1. #1
    Junior Member
    Join Date
    Mar 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Bundling mysql-connector with my applet

    I want to connect to a database from an applet I'm writing. To do this, I need the jar "mysql-connector-java-5.1.12-bin.jar" to be accessible from my applet. Before I had this requirement, I had been compiling my applet to a jar, and then accessing that jar from a webpage. But now I need to access both my main jar, and 'bundle' in the mysql-connector jar as well.

    Am I going about this the right way? How can I do this?

    Thanks,
    Cory


  2. #2
    Junior Member
    Join Date
    Nov 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Bundling mysql-connector with my applet

    Still nobody got that answer?

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Bundling mysql-connector with my applet

    How are you accessing your applet? Have you tried adding both jar files to the archive= attribute of the <applet tag?

    NOTE: This thread is over 3 years old.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Connectivity problem:MySQL and Java
    By Pragya in forum JDBC & Databases
    Replies: 2
    Last Post: January 22nd, 2010, 03:58 AM
  2. Testing the DataSource with MySQL
    By srinivasan_253642 in forum JDBC & Databases
    Replies: 0
    Last Post: January 9th, 2010, 02:23 AM
  3. SCOM connector using Java
    By Thej in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: July 17th, 2009, 06:42 AM
  4. Adding Marathi words to MySQL table
    By vaishali in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: July 8th, 2009, 06:43 AM
  5. Use of Unicode 5.1 in MySQL DB with Java
    By Desert Fox in forum JDBC & Databases
    Replies: 2
    Last Post: November 12th, 2008, 08:29 AM