Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Rep Power

    Default Display image on jsp page

    I have to display image on jsp page with some text output. This image is already saved at a location parallel to web-inf and is generated dynamically using a servlet. I have used img tag html to display the image. Other outputs are taking their values from database.
    First problem is that image will be taking time to display in comparision of other outouts from database. I have to refresh the page to get imageon my page.
    Second is that if I save image in a folder parallel to web-inf in my project then it will not be displaying the image.
    Can I use any jsp functionality to display image with other outputs from database. I have used "include". but it shows only that image and other outputs.

  2. #2
    baloda is offline Member
    Join Date
    Nov 2010
    New Delhi
    Rep Power

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Replies: 2
    Last Post: 04-26-2009, 06:36 AM
  2. Display the contents of a file on jsp page
    By shiva in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 03-30-2009, 01:01 PM
  3. Replies: 1
    Last Post: 02-11-2009, 06:54 AM
  4. how to display image in jsp page(Struts)
    By rama6262 in forum Advanced Java
    Replies: 1
    Last Post: 12-21-2007, 07:50 AM
  5. How to display a database-image in a page?
    By simon in forum New To Java
    Replies: 1
    Last Post: 07-23-2007, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts