Java Web Start JAVAWS 命令行参数
我需要通过在代码中传递命令行参数来激活 webstart。我已经看到 将命令行参数传递给 javaws ( Java WebStart)可执行,但无法获得可以采用多个参数的解决方案,尽管我们可以使用 -open 或 -print。
我需要运行 'javaws http://appServerURL:port/context/sample.jnlp'具有以下参数
- -u
- 用户名
- -p
- 密码
- -s
- C:/ProgramFiles/saple/some.bat -Ip 10.44.219.109 -Usr readwrite -Pwd readwrite
非常感谢您的帮助......
I need to activate webstart by passing command line arguments in my code. I have seen Passing command line arguments to javaws (Java WebStart) executable but could not get the solution which can take multiple arguments though we could use -open or -print.
I need to run 'javaws http://appServerURL:port/context/sample.jnlp' with following arguments
- -u
- username
- -p
- password
- -s
- C:/ProgramFiles/saple/some.bat -Ip 10.44.219.109 -Usr readwrite -Pwd readwrite
Your help is much appreciated.....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建一个批处理文件,例如
Create a batch file like