File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Display image/file on screen

Gaurav Lala

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.
I agree. Here's the link:
subject: Display image/file on screen
It's not a secret anymore!