Redian新闻
>
why it does not work?? :(((
avatar
why it does not work?? :(((# Java - 爪哇娇娃
j*1
1
【 以下文字转载自 Complain 讨论区 】
发信人: mitbbs (未名空间), 信区: Complain
标 题: Re: [投诉]TrustinJesus版主Dignity两天之内狂删我19篇主题帖
发信站: BBS 未名空间站 (Tue Jun 28 02:58:38 2011, 美东)
由于版内炸版,会引起误删。版主可恢复其误删的帖子
avatar
b*h
2
simple socket communication via java applet.
1. write an applet to open socket on port 5000 to write a srting.
2. keytool -genkey to generate keys
3. export key to file *.crt
4. jarsigner jar xxx.crt
5. load the jar file on web server, use to embed applet.
6. keytool -import -keystore cacerts -file xxx.crt (just for test purpose)
when use browser to go the the webpage, I could see the certificate was
verified successfully on java console, and saying applet started, no
exception.
but I
avatar
s*g
3
i've met the similar problem as you before and i gave up.
Basically i tried to use applet to connect to mysql database.
I succeeded connecting to mysql database on localhost, but
somehow i can't connecting to mysql database on a remote machine.
i have set the policy file to something like policy.all, and
it seems that there are still some restrictions for applet.
If you find solution, please tell me. If not, i suggest you
change your program to some alternate architecture.
One quetion you may as

【在 b**h 的大作中提到】
: simple socket communication via java applet.
: 1. write an applet to open socket on port 5000 to write a srting.
: 2. keytool -genkey to generate keys
: 3. export key to file *.crt
: 4. jarsigner jar xxx.crt
: 5. load the jar file on web server, use to embed applet.
: 6. keytool -import -keystore cacerts -file xxx.crt (just for test purpose)
: when use browser to go the the webpage, I could see the certificate was
: verified successfully on java console, and saying applet started, no
: exception.

avatar
F*n
4
Before set policy file, you need to set your browser's permission for Applets.

【在 s*******g 的大作中提到】
: i've met the similar problem as you before and i gave up.
: Basically i tried to use applet to connect to mysql database.
: I succeeded connecting to mysql database on localhost, but
: somehow i can't connecting to mysql database on a remote machine.
: i have set the policy file to something like policy.all, and
: it seems that there are still some restrictions for applet.
: If you find solution, please tell me. If not, i suggest you
: change your program to some alternate architecture.
: One quetion you may as

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。