Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display image/file on screen
 
Similar Threads
Getting error Incompatible magic value 1784772193 in class file
Binary file read/write Question
DOS TSR file I/O nightmare - help!
baffling UTF-8 problem
Servlet Download Problem