• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

DATABASE APPLET

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do i connect applet to datbase of ms-access.
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do it the same way you do it with a java application, with minimal changes. As long as th applet and the DB are located on the same server. There is an example at Sun's site. You can also search this forum. It has been discussed a number of times.
 
MR Thakkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have tried it no wbut i get the below error.
access denied(java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
MY CODE
--------

[ Edited by Dave to format code and fix smilies ]
[ May 15, 2002: Message edited by: David O'Meara ]
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is because of the sandbox of the explorer,as you don't have the specific privileges to do this action..It is always a problem with the applet to do this... so what you have to do is to use the policy tool and using this grant the permissions for this purpose...
u need to study for this on the following link
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/policytool.html
try this out..it must work..
 
Blood pressure normal? What do I change to get "magnificent"? Maybe this tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic