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

Display image/file on screen

Gaurav Lala
Greenhorn

Joined: Mar 29, 2012
Posts: 12

I have successfully uploaded a file in database by converting it into BLOB, and have retrieved the file in form of bytes. But I still couldn't figure out how to pass the bytes from Controller's method to jsp page. I'm using Spring 3.1 and couldn't find any concrete ways of doing this.
 
jQuery in Action, 2nd edition
 
subject: Display image/file on screen