由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - why it does not work?? :(((
相关主题
https certificate??[转载] create gif/png image in C or java
socket and simple web browser【跪求】java applet下怎么执行系统的一个程序?
Socket Connection refused in high-loaded serversjava applet IE能打开chrome打不开是咋回事?
Re: How can I get localhost's address in a Applet?How to compute round-trip time to webser
How to connect to SQL2000?java applet load的问题
新手请教 java applet+html 入门级问题question on single thread & multithread
Help: 有大虾在 Applet 中用过 UDP socket 麽?Socket created/called in Servlet timed out
one question问个truststore问题
相关话题的讨论汇总
话题: applet话题: file话题: keytool话题: jar话题: socket
进入Java版参与讨论
1 (共1页)
b**h
发帖数: 64
1
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
s*******g
发帖数: 59
2
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.
F****n
发帖数: 3271
3
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

1 (共1页)
进入Java版参与讨论
相关主题
问个truststore问题How to connect to SQL2000?
Re: How to write to a file on server in an applet?新手请教 java applet+html 入门级问题
a question regarding appletHelp: 有大虾在 Applet 中用过 UDP socket 麽?
web服务器与客户端双向认证one question
https certificate??[转载] create gif/png image in C or java
socket and simple web browser【跪求】java applet下怎么执行系统的一个程序?
Socket Connection refused in high-loaded serversjava applet IE能打开chrome打不开是咋回事?
Re: How can I get localhost's address in a Applet?How to compute round-trip time to webser
相关话题的讨论汇总
话题: applet话题: file话题: keytool话题: jar话题: socket