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
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: 39834
    
  28
Originally posted by lalith kumar:
It is urgent
Ease Up.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2510
    
  10

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
 
jQuery in Action, 2nd edition
 
subject: how to store and retrieve files using blob