aspose file tools*
The moose likes JDBC and the fly likes how to store and retrieve files using blob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to store and retrieve files using blob" Watch "how to store and retrieve files using blob" New topic
Author

how to store and retrieve files using blob

lalith kumar
Greenhorn

Joined: May 09, 2008
Posts: 17
hi friends,

Did anyone know how to store and retrieve .doc,pdf etc using blob in database of mysql server(tomcat5.0) using struts and jsp.
please help me. It is urgent

Thanks in advance
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38412
    
  23
Originally posted by lalith kumar:
It is urgent
Ease Up.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

You can try to search forum JDBC for "using blob".
There are some good proposals in the results. Look for setBinaryStream() and getBinaryStream().
Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to store and retrieve files using blob