0 Replies Latest reply on Aug 10, 2012 12:09 AM by Vikas V

    Why does h:graphicImage tag appends JsessionId but not <img> tag

    Vikas V Newbie



      Am using JSF 1.2 , Jboss AS 5.1.0


      In my servlet, I have to render some images. Am using h:graphicImage for this.


      My images gets appended with jsessionId like this http://myDomain/images/myImage;jsessionId=DFSDLHFLDFLDFLFFL.node1


      Whereas if I use <img> tag, url will be just http://myDomain/images/myImage.


      Am interested in knowing why this behaviour difference between these two tags.