从浏览器中的Java脚本或触发扫描仪执行shell脚本 [英] executing shell scripts in java script or trigger scanner from browser

查看:150
本文介绍了从浏览器中的Java脚本或触发扫描仪执行shell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从扫描器(硬件)扫描文档一个壳脚本。

I have one shell script for scanning documents from scanner(hardware).

Shell脚本存储在每个客户端系统。

Shell scripts were stored in each client system.

假设客户端扫描应用程序意味着我必须要运行shell脚本,并存储在服务器上扫描应用程序。

Suppose client scans application means i have to run that shell script and store scanned application in server.

我使用HTML,JavaScript和servlet的。

I am using Html, JavaScript and servlets.

如果我从servlet的运行shell脚本,它会在服务器执行shell脚本。

If I run shell script from servlet, it will execute shell script in a server.

我想从客户端系统执行shell脚本。

I want to execute shell script from client system.

我想,如果我们使用的JavaScript,我们可以做到这一点。有没有办法做到这一点?

I think if we used JavaScript we can do this. Is there any way to do this?

其他然后shell脚本如何,我们可以在浏览器中触发扫描仪?

Other then shell script how can we trigger scanner in browser ?

推荐答案

您可以使用Java Web Start的或签名的小程序。然而,这需要用户安装的Java

You can use Java Web Start or a signed applet. However, this requires the user to install Java.

这篇关于从浏览器中的Java脚本或触发扫描仪执行shell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆