• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying BLOB

 
Mary White
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic