This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Displaying Image stored in MSSQL Server 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 » Databases » JDBC
Bookmark "Displaying Image stored in MSSQL Server" Watch "Displaying Image stored in MSSQL Server" New topic
Author

Displaying Image stored in MSSQL Server

deshdeep divakar
Ranch Hand

Joined: Apr 19, 2004
Posts: 91

Hi,
There I have written a piece of code for storing the image
into database and retriving it.


Data Base have following fields:
ftype varchar attribute and images image

Code is fetching the image but could'nt able to display that
Check Out


"Do not be afraid of going slow, be afraid of standing still"
deshdeep divakar
Ranch Hand

Joined: Apr 19, 2004
Posts: 91
I have changed the code as follows:


now problem is its not diplaying the Filename passed as
command line
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying Image stored in MSSQL Server
 
Similar Threads
photo upload using jsp
how to store an image into the DataBase using oracle database
Handling FileNotFoundException
I hot error time of file uploading in servlet/jsp
comparing two files