由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - one question
相关主题
Socket Connection refused in high-loaded serversRe: Client-Server and actionPerformed
求救如何让两个socket并行执行thread
socket and simple web browsersocket programing server-server怎么通讯?
Help: 有大虾在 Applet 中用过 UDP socket 麽?[合集] 有点糊涂了,一个程序能不能开多个server socket服务?
why it does not work?? :(((弱问socket
【跪求】java applet下怎么执行系统的一个程序?新手问题
question on single thread & multithreadRe: How to write to a file on server in an applet?
如何在服务器端跟踪Java的运行?a question regarding applet
相关话题的讨论汇总
话题: applet话题: server话题: question话题: client
进入Java版参与讨论
1 (共1页)
c****u
发帖数: 3277
1
I am writing a server-client application.
server side is a application using socket,
client side is applet. Now the problem is that I have to modify
java.policy to enable the applet to communicate with server via
socket. Is there any way to avoid this problem? Thanks a lot.
g*****g
发帖数: 34805
2
If the web server hosting the applet is the one you are runing
server side application, you don't need any policy file.

【在 c****u 的大作中提到】
: I am writing a server-client application.
: server side is a application using socket,
: client side is applet. Now the problem is that I have to modify
: java.policy to enable the applet to communicate with server via
: socket. Is there any way to avoid this problem? Thanks a lot.

c****u
发帖数: 3277
3
I mean I have to modify client's java.policy, that's really bad.

【在 g*****g 的大作中提到】
: If the web server hosting the applet is the one you are runing
: server side application, you don't need any policy file.

g*****g
发帖数: 34805
4
No, if the applet only connect to the server hosting it, no policy
file is needed.

【在 c****u 的大作中提到】
: I mean I have to modify client's java.policy, that's really bad.
c****u
发帖数: 3277
5
I got it. For now, the server hosting applet and the application the
applet connects to are not at the same place. Thanks for your reply.

【在 g*****g 的大作中提到】
: No, if the applet only connect to the server hosting it, no policy
: file is needed.

1 (共1页)
进入Java版参与讨论
相关主题
a question regarding appletwhy it does not work?? :(((
赶快帮帮我!【跪求】java applet下怎么执行系统的一个程序?
再问个java的蠢问题,别骂我question on single thread & multithread
愣是笨到家----整不明白applet的path如何在服务器端跟踪Java的运行?
Socket Connection refused in high-loaded serversRe: Client-Server and actionPerformed
求救如何让两个socket并行执行thread
socket and simple web browsersocket programing server-server怎么通讯?
Help: 有大虾在 Applet 中用过 UDP socket 麽?[合集] 有点糊涂了,一个程序能不能开多个server socket服务?
相关话题的讨论汇总
话题: applet话题: server话题: question话题: client