user2674811 February 2016

issue asprise imaging scan

I have use Aspire scanner using this line of code:

File[] files = ScanManager.getDefaultManager().quickScanUsingUI(new File("."), null);

in a java web application (servlet and jsp). But the problem in click scan button from any PC browser in the network the popup window lunched in the PC that application run , does not appear to user who click scan .

Any suggestion to solve this problem , or recommended example for free scanner API working in java web application?

Answers


CroWell February 2016

If your Java version at least 7. Use great File I/O (Featuring NIO.2). So you can use Files.walkFileTree() method as described at:

depending on your needs.

Post Status

Asked in February 2016
Viewed 3,246 times
Voted 4
Answered 1 times

Search




Leave an answer