Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

java database applet with Internet Explorer

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a problem with my java applet, I connect my java applet with the database
& accessing & comparing the database using some condition statement applet is working fine
with appletviewer, I write an policy file in the same directory, I use the
following command:

appletviewer -J-Djava.security.policy=DbaOdbPol.txt login.html

but when I am running my Applet in Explorer it is not showing any result.

I am sendig you the code what exactle I did.
I am also sendig you this as an attachment.

Please send me the solution as soon as possible.


Java source code: login.java:-



[added code tags]
[ July 22, 2005: Message edited by: Jeanne Boyarsky ]
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vishesh,
Welcome to JavaRanch!

I'm moving this to our Applets forum, where they know more about applet/security interactions.
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at Applet Security Restrictions. You can either contact the database with a server application or digitally sign the applet to get around these restrictions.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic