Results 1 to 2 of 2
  1. #1
    rama6262 is offline Member
    Join Date
    Dec 2007
    Rep Power

    Post how to display image in jsp page(Struts)

    Hello All,
    i have one query .
    I have one jsp page where i can pass 2 parameter and according to those 2 parameter value i get one image file from server.and that image i want to display in another jsp page.How to do that.Please help me.
    thanks in Advance.

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Bali, Indonesia
    Rep Power


    How do you store your image on the server? is it an image file or you read it from database?

    Well, if you have an image file I think you could pass the image file name to the second page, and then put the name on the <img/> html tag to display it.

Similar Threads

  1. can display image in JFrame?
    By xCLARAx in forum AWT / Swing
    Replies: 14
    Last Post: 04-03-2009, 07:02 PM
  2. How to display image ?
    By Birkoff in forum AWT / Swing
    Replies: 7
    Last Post: 06-09-2008, 07:58 AM
  3. How to display Tabuler Data in J2EE application on jsp page
    By AMATYA-CHANAKYA in forum Advanced Java
    Replies: 2
    Last Post: 04-23-2008, 05:54 PM
  4. How to display an image in JApplet
    By fred in forum Java Applets
    Replies: 1
    Last Post: 07-24-2007, 02:02 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