• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to access database thru applet running in a browser????

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
iam in a trouble .... my applet can access local as well as remote database when run thru appletviewer...but when run thru a browser doesnt perform nething...please help me out as soon as possible.....iam stuck badly
thanx in advance
baba
 
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Baba,
Please register with a proper name. "Baba" does not follow the conventions. See here for details: http://www.javaranch.com/name.jsp
If you do not register properly, your account will be disabled.
Thank you.
Stephanie
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
baba,
if u want ur applet to use both the local and remote resources
u need to sign the applet and u have to create a policy file to it
since u intend to use the local dtabase it is violation of security and ur applet becomes untrusted

hope got the message
bye
aroon
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

arun:
u have to create a policy file to it
where, how?
could you please elaborate on this, I have similar issues
though, I signed my jar files.
I changed my .hotjava\properties file to give permissions
to read/write top c:\temp
Thanks.
- satya
 
baba
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but the .java.policy file i tried with makes the applet acces the database(be it local or remote) only when run with appletviewer but now when run in a browser as an html file
pleaaz explain a bit extravagantly
thanx
reply
    Bookmark Topic Watch Topic
  • New Topic