Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases 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 Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 41631
    
  31
Originally posted by lalith kumar:
It is urgent
Ease Up.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2532
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to store and retrieve files using blob