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
|