Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets and jdbc

 
feroz muhamed
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can applet directly access Database? when running a security exception rises.
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only if the IP address of the database is the same as the URL address from where the applet was loaded. Otherwise, you'll have to sign your applet to allow it to access the network.
 
Peter Yunguang Qiu
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to read / wrtie file using Stream? If the Applet and data file in the same machine, I think it is possible.
Peter
 
george franciscus
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi feroz,
Please ask questions completely( exact problems).
Anyway, Applet is like normal java class so it can connect to database. But we know applets run at client side. So we have some restrictions about that..
Un signed.
A applet can connect to its downloaded server only.
So in this case if your database server & webserver are same then ur applet can connect to database directly.
if u need more help ask ur question more precisely.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic