简体   繁体   中英

how to run exe from web app

I need to copy data to card writer attached to local pc from the web app(run card writer exe with parameters with java runtime). What's the best way to implement such functionality? Java applet, web service or something else?

您将需要一个经过签名的Java小程序来下载并启动可执行文件。

You must have a client side solution so don't look into server technologies.
I know that a signed Java applet will suffice (Signed makes it run out of the security sandbox).
Java Script won't allow you.
Maybe Silverlight and Flash can help but they are more restricted than a signed Java applet.
You can allways use a simple <a href="your.exe"/> and let the user select open in the open or save dialog that will popup in the browser.

Somthing else would be my pick. I'd provide a download to the user from the web page, and a wee application and installer for the cardwriter. Otherwise it's just a mass of security stumbling blocks and issues.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM