aspose file tools
The moose likes JSF and the fly likes url attribute of <h:graphicImage/> not accepting 2nd request parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "url attribute of <h:graphicImage/> not accepting 2nd request parameter" Watch "url attribute of <h:graphicImage/> not accepting 2nd request parameter" New topic
Author

url attribute of <h:graphicImage/> not accepting 2nd request parameter

Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
I use a Servlet to stream an image from the database and I use the <h:graphicImage/> tag for display as follows:


The problem starts if I include the 2nd parameter (¶2=name2) and I get the following error message:

The reference to entity "para2" must end with the ';' delimiter

Am I missing anything?
Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
Hi,

I guess you are using facelets or jspx as your views. You will have to use & in place of &, as & is used for entity reference in xml.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: url attribute of <h:graphicImage/> not accepting 2nd request parameter
 
Similar Threads
Problem using JSF and Tiles
Any solution for h:graphicImage using rich:toolTip
jsp:include & jsp:param
IMP c:remove doubt
& in url parameter value