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 6166337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:19:18+00:00 2026-05-23T22:19:18+00:00

This is a more specific version of my other question. I have created an

  • 0

This is a more specific version of my other question. I have created an applet that should communicate with my MS Access database. It works fine when I run it through a compiler, but when I embed the .class file in an html page and open the html page, it runs but none of the changes it is supposed to make to the database actually happen and it cannot retrieve data from the database. I am eventually going to publish this html file to a secure network. The applet should communicate directly with the database on the computer, without servlets/sockets/etc (even though this is supposedly not good practice). If a different computer accesses the html page, it should be able to run the applet and make changes to the database on the host computer, but it need not allow the applet any special access to its own files, since they are not being changed, only the database on the host computer is. So I see no reason to make it a signed applet, because that will enable the applet to make changes to any computer, not just its own. I run Vista so policy tool is not available.

Note: the html file, the class file, and the java source file are all on my computer in the same folder, and this is the way it will stay. The html file is not yet published, I just created it myself to test the 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-05-23T22:19:20+00:00Added an answer on May 23, 2026 at 10:19 pm

    I have actually attempted this sort of thing before. I think your problem lies in the nature of an applet.

    Applets are downloaded and run by the client machine, so if the database that you are trying to access exists on the server, the client probably does not have access to the database location on the server. And as we all know, code from the client machine is not to be trusted.

    It may be easier to rewrite your page as a servlet, as the servlet lives on the server and presumably has access to the database. Your servlet can then send html and receive form data back and forth between the client and server.

    If your heart is set on an applet front end, you could send http messages back to a servlet which would then perform the database operations. This option would be far more secure and a lot easier to implement permission-wise.

    Hope this helps, let me know if you have additional questions.

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

Sidebar

Related Questions

Actually this is a more specific version of a question I posted in past
This is more of a specific question on a specific case. Here is what
I'm reviving this question, and making it more specific: Is there a .NET framework
I noticed This question , but my question is a bit more specific. Is
This is kind of more generic question, isn't language-specific. More about idea and algorithm
I'm having problems with stored procedures, this part to me more specific : CREATE
This is more a 'wonder why' than a specific issue but look at the
This is more of an algorithmic dilemma than a language-specific problem, but since I'm
I know this has been asked more generally before, but here is my specific
This more of a style question, rather than a how to. So I've got

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.