Display image in JSP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stack
    New Member
    • Sep 2007
    • 40

    Display image in JSP

    Hi all,

    I include an image tag in a JSP page but when I run the JSP file it does not display the image.

    [HTML]<img src="1.jpg" height="100"/>[/HTML]

    Is that the right way to do it?

    Thank you
  • Stang02GT
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    You could also use this....


    Code:
    <%@ include file="picture.jpg" %>

    Comment

    • stack
      New Member
      • Sep 2007
      • 40

      #3
      Originally posted by Stang02GT
      You could also use this....


      Code:
      <%@ include file="picture.jpg" %>
      thanks! I 'll try that too.

      Comment

      Working...