Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2007, 07:40 PM
Member
 
Join Date: Jul 2007
Posts: 44
simon is on a distinguished road
How to display a database-image in a page?
I select the image information from oracle.
how can i display the image in the page?
I did something like that:<img src="display.jsp"/> but I doesn't work

thanks
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-24-2007, 12:56 AM
Member
 
Join Date: Jul 2007
Posts: 43
leonard is on a distinguished road
That JSP should return a byte stream that describes the image. The actual content of the byte stream is determined by the image itself and the format it is in.

You could also just write the image to a file and generate HTML that points to that file.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display image ? Birkoff AWT / Swing 7 06-09-2008 08:58 AM
How to display Tabuler Data in J2EE application on jsp page AMATYA-CHANAKYA Advanced Java 2 04-23-2008 06:54 PM
how to display image in jsp page(Struts) rama6262 Advanced Java 1 12-21-2007 08:50 AM
can display image in JFrame? xCLARAx AWT / Swing 4 07-26-2007 04:33 PM
How to display an image in JApplet fred Java Applets 1 07-24-2007 03:02 AM


All times are GMT +3. The time now is 11:25 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org