Contact us


All times are UTC - 8 hours



Post new topic Reply to topic  [ 2 posts ] 
Author Message
Offline Profile  


Joined: Wed Dec 18, 2013 2:55 pm
Posts: 1
Hello Dynamsoft,
I have integrated Image Capture Suite Trial with JSP such that I can store it in a repository.
Example:
Javascript
DWObject.HTTPUploadAllThroughPostAsPDF( location.hostname, strAction, 'Documento.pdf' );
JSP
File fileToRecv = new File(application.getRealPath("/") + saveFile);
FileOutputStream fileOut = new FileOutputStream(fileToRecv); fileOut.write(dataBytes, posFileStreamBegin, fileSize);
fileOut.flush();
fileOut.close();


http://www.freeimagehosting.net/mpzly
Image

But the problem occurs when I want to store it in the database (CLOB / BLOB field) from a JSP page or Servlet for my preference. Now I found an example in C # on your site but it has been difficult for me to implement it in Java.

The options that I have reviewed are SaveSelectedImagesTo base64Binary and LoadImageFromBase64Binary Method and receive as request.getParameter('RemoteFile')

I hope you can help me. Thanks


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Hi Richard,

Thanks for your post.

Dynamic Web TWAIN is a client side component which is controlled by HTML & Javascript. Actually, the server side processing has nothing to do with our control. And currently, we only have the C# sample to scan and upload images to a Microsoft SQL Server database.

I'd like to help you out in this regard, but I'm not familier with JSP. Sorry about it. However, I did my own research and found this related articles:

http://stackoverflow.com/questions/3116 ... -using-jsp
http://www.coderanch.com/t/295425/JDBC/ ... P-Programe

Hope they will help!

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team