由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - JSP程序中如何在客户端启动另外的JAR程序
相关主题
使用JAVA的一则经验和教训Re: JSP菜鸟一问
入门Java CLASSPATH问题:Classpath questions
JB JAVA Bean,SERVLET位置一问JSP How to Invoke the Specific version of Xerces-J
如何在网页里得知浏览器使用什么JAVA虚拟机?Re: Can I use JSP on server and use Applet as user interface on client
新手求助applet问题求救
Jar question[转载] Problems with reading image file in Jar.
makefile to set classpathJSP/SERVLET里面如何实现弹出窗口(新短信)功能
JSP菜鸟一问JSP一问
相关话题的讨论汇总
话题: java话题: jsp话题: applet话题: classpath%话题: jmfhome%
进入Java版参与讨论
1 (共1页)
p***p
发帖数: 559
1
我做的应用是这样,一但客户在公司主页登陆之后,就在客户端启动一个事先安装好的普

JAVA的IP电话软件,请问JSP里面的代码如何写。
这个是启动命令,
java -classpath sip-communicator.jar;jmf.jar;sound.jar;%CLASSPATH%;%JMFHOME%
-Dlog4j.configuration=sip-communicator.properties -Djava.library.path=./lib
net.java.sip.communicator.SipCommunicator
g*****g
发帖数: 34805
2
It's as simple as: You can't do that.
Otherwise it's a security hole. Browser is designed not to allow
reading any local file without authorization of user.
Now a workaround may be using a small signed applet, which doesn't even
necessarily have an interface. If the customer accepts the signed applet
when they first time go to your website, the applet can call local program,
which can be anything including java application.

【在 p***p 的大作中提到】
: 我做的应用是这样,一但客户在公司主页登陆之后,就在客户端启动一个事先安装好的普
: 通
: JAVA的IP电话软件,请问JSP里面的代码如何写。
: 这个是启动命令,
: java -classpath sip-communicator.jar;jmf.jar;sound.jar;%CLASSPATH%;%JMFHOME%
: -Dlog4j.configuration=sip-communicator.properties -Djava.library.path=./lib
: net.java.sip.communicator.SipCommunicator

c*****s
发帖数: 214
3
或者java web start。

的普
sip-communicator.jar;jmf.jar;sound.jar;%CLASSPATH%;%JMFHOME%
-Djava.library.path=./lib

【在 g*****g 的大作中提到】
: It's as simple as: You can't do that.
: Otherwise it's a security hole. Browser is designed not to allow
: reading any local file without authorization of user.
: Now a workaround may be using a small signed applet, which doesn't even
: necessarily have an interface. If the customer accepts the signed applet
: when they first time go to your website, the applet can call local program,
: which can be anything including java application.

w*r
发帖数: 2421
4
security restriction apply. Best solution should be either applets or
web-start application



【在 p***p 的大作中提到】
: 我做的应用是这样,一但客户在公司主页登陆之后,就在客户端启动一个事先安装好的普
: 通
: JAVA的IP电话软件,请问JSP里面的代码如何写。
: 这个是启动命令,
: java -classpath sip-communicator.jar;jmf.jar;sound.jar;%CLASSPATH%;%JMFHOME%
: -Dlog4j.configuration=sip-communicator.properties -Djava.library.path=./lib
: net.java.sip.communicator.SipCommunicator

1 (共1页)
进入Java版参与讨论
相关主题
JSP一问新手求助applet问题
Applet如何调用Server side Jar?Jar question
学JavaWeb和J2EE有什么好教材?makefile to set classpath
怎么让客户端得知和得到数据库修改的数据?JSP菜鸟一问
使用JAVA的一则经验和教训Re: JSP菜鸟一问
入门Java CLASSPATH问题:Classpath questions
JB JAVA Bean,SERVLET位置一问JSP How to Invoke the Specific version of Xerces-J
如何在网页里得知浏览器使用什么JAVA虚拟机?Re: Can I use JSP on server and use Applet as user interface on client
相关话题的讨论汇总
话题: java话题: jsp话题: applet话题: classpath%话题: jmfhome%