File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes JTwain API not responding from applet (Called through a JSP) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "JTwain API not responding from applet (Called through a JSP)" Watch "JTwain API not responding from applet (Called through a JSP)" New topic
Author

JTwain API not responding from applet (Called through a JSP)

deepak veyan
Greenhorn

Joined: May 02, 2012
Posts: 10

We had been migrating our projects to Linux from windows.Among which is a Java Applet being invoked from a JSP to facilitate scanning via JTwain API.This has stopped working.On checking the Applet console , code execution seems to be smooth till the following



There is no exception being thrown as well. Also , jar signing has also been done (Though there is another application that works superbly even without this).

Any advice would be highly appreciated.

This is my first question on the forum , kindly excuse if there had been any non-compliance with standards.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Disclaimer: I haven't worked with JTwain

When you say "stopped working" what exactly happens?
There is no exception being thrown as well

Did you check for empty catch blocks in your code?
As per the API docs, http://asprise.com/product/jtwain/javadoc/com/asprise/util/jtwain/Source.html#acquireImage(), it does throw an exception


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

deepak vn wrote:code execution seems to be smooth till the following



That's not valid, compilable Java code. To get help on a forum, you need to PostRealCode (<-link).


luck, db
There are no new questions, but there may be new answers.
deepak veyan
Greenhorn

Joined: May 02, 2012
Posts: 10

Thank you everyone for your kind responses.I will ensure to post more explanatory code next time on wards.The code we were trying to migrate itself had certain problems and we later on went on to identify the module though was on production was not being used at all. Hence the same is halted as of now.

Once again , thank you everyone !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTwain API not responding from applet (Called through a JSP)
 
Similar Threads
jtwain scanning library: make applet support autofeeder
other than Jtwain
JTwain not working
method calls
Problem in Integrating Jtwain Japplet in JSP/HTML