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

Joined: Dec 20, 2006
Posts: 2519
    
  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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to store and retrieve files using blob