开发者

problem with applet database access

the applet(which make connection to access database) i developed is working fine in applet viewer, but when embedded in an html file, it cannot access the database. how can i rec开发者_运维知识库tify it?


An applet lives in a security sandbox. In order for you to do file io, your applet jar(s) need to be signed.

http://introcs.cs.princeton.edu/85application/jar/sign.html


Applets respect same origin policy. It cannot connect to any other sever other than where it is hosted. You database and your webserver needs to be on same ip.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜