Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9023297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:43:41+00:00 2026-06-16T05:43:41+00:00

My applet queries a mysql database, so I included the connector J jar in

  • 0

My applet queries a mysql database, so I included the connector J jar in the eclipse project libraries and my applet runs fine in eclipse, but when i put it on the website, I get an error about that jdbc driver. When I made the jar of my project from eclipse, I don’t think that the jdbc driver was included in the jar, so how would I access the jar? Should I put the jdbc jar inside my project jar, or have my project jar access the driver stored in its own jar.

Right now, I am using

<applet code="test.class" archive="math.jar" width=830 height=600 ></applet>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:43:42+00:00Added an answer on June 16, 2026 at 5:43 am

    This isn’t a good idea. You don’t want an applet to access a database directly. You’ll have to expose that port on the public Internet – not a good idea.

    A better thought would be to put a servlet in between the applet and the database. Let the applet make the request to the servlet. It can deal with security, validation, binding, accessing the database, and marshalling the response.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My applet doesn’t see the external libraries. Everything works using the appletviewer, but not
My applet runs perfectly in NetBeans, but displays as a gray box in browsers.
I have a java applet that queries an Oracle database for data. When run
I am Calling an Applet Class After Login. The form is Visible but the
I have signed my applet and it is in jar. I have added the
I have an applet which runs in a browser. I expect that when the
The applet will download file from a SFTP server. JSch libraries are used to
My applet run when I open my web application and works fine. Inside this
Our team has an applet that is working fine in Oracle JRE 7u5. Upon
My applet runs file when I call it from a static applet.html file, like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.