File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Displaying BLOB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying BLOB" Watch "Displaying BLOB" New topic
Author

Displaying BLOB

Mary White
Ranch Hand

Joined: Jan 27, 2003
Posts: 41
Hi,
I have a BLOB field in my database which contains documents (word, PDF, etc.)
How can I retrieve and display them through an struts action?
Shane Bailey
Greenhorn

Joined: Apr 23, 2003
Posts: 2
Originally posted by Mary White:
Hi,
I have a BLOB field in my database which contains documents (word, PDF, etc.)
How can I retrieve and display them through an struts action?

Use the org.apache.struts.upload.FormFile object.
Mary White
Ranch Hand

Joined: Jan 27, 2003
Posts: 41
Hi Shane,
I 'm able to save it in the database by using the object you mentioned, but how can I retrive it and present it back?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying BLOB
 
Similar Threads
ORA-01460: unimplemented or unreasonable conversion requested
clob and blob
how to convert byte[] to blob
How to convert FormFile into BLOB object?
how to store an image into the DataBase using oracle database