如何访问小程序jar中的功能 [英] How to access the functions in an applet jar

查看:130
本文介绍了如何访问小程序jar中的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai Guys,

我需要你们的帮助.我完全被困住了.

我在Asp.net网页中嵌入了一个applet jar.此applet正在访问本地扫描器.现在我想访问applet jar中的一个函数,该函数以字节数组形式返回图像. java脚本,以便我可以在我的asp代码中使用它.此applet不仅在扫描它也在执行OCR.所以我不能在项目中使用TWAIN.

Hai Guys,

I need a help from you people.I am totally stuck.

I am having an applet jar embedded in an Asp.net web page.This applet is accessing a local scanner.Now i want to access a function in the applet jar which returns the image in an byte array.How can i access the function using java script so that i can use that in my asp code.This applet is not only scanning it is doing OCR also.So i cant use TWAIN in my project.

推荐答案

看看那些链接:

http://www.coderanch.com/t/529764/java/java/run-jar-java-application [ ^ ]
http://www.daniweb.com/software-development/java/threads/421203/call-main-from-jar-file [ http://www.java-forums.org/advanced-java/26395-calling-jar-file-within-java-application.html [ http://stackoverflow.com/questions/9966380/call-method-from- class-in-jar-file [ ^ ]
...

祝你好运!
Take a look at those links:

http://www.coderanch.com/t/529764/java/java/run-jar-java-application[^]
http://www.daniweb.com/software-development/java/threads/421203/call-main-from-jar-file[^]
http://www.java-forums.org/advanced-java/26395-calling-jar-file-within-java-application.html[^]
http://stackoverflow.com/questions/9966380/call-method-from-class-in-jar-file[^]
...

Good luck!


这篇关于如何访问小程序jar中的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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