2 Replies Latest reply on Sep 26, 2006 11:07 AM by mmontoni

    How to display an image in an jsp page inside of a portlet.

    mmontoni Newbie


      I am trying to simple display an image inside of a portlet. A bullet.gif image. I tried the following code:

      <img src="<%= renderRequest.getContextPath() %>/WEB-INF/images/bullet.gif"/>

      It did not work... :-) i tried also:

      <img src="<%= request.getContextPath() %>/WEB-INF/images/bullet.gif"/>

      Does anybody know what am I doing wrong..?