Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet + Access problems

 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, i am trying to connect an Applet to an Access 2003
dataBase over WinXP, but for reasons of security i am not
capable to do that " Win is not allowing me to connect", is there
any things that i must do, in the Win configuration or in my Java
code for my applet to work.
Thx, Omar
 
Joe Ess
Bartender
Posts: 9370
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on how you are trying to connect to your database. If you are trying to use the JDBC ODBC bridge, check the JDBC FAQ:

3. Can the JDBC-ODBC Bridge be used with applets?
Use of the JDBC-ODBC bridge from an untrusted applet running in a browser, such as Netscape Navigator, isn't allowed.

For this reason and because applets can't contact hosts other than the one they were downloaded from, it is common to wrap a database with a connection layer like a servlet.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!