webtier@glassfish.java.net

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

From: <webtier_at_javadesktop.org>
Date: Wed, 13 Oct 2010 18:41:42 PDT

I use a Servlet to stream an image from the database and I use the <h:graphicImage/> tag for display as follows:

[code]<h:graphicImage url=”/servletUrl?para1=name1&para2=name2”/>[/code]

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

[code]The reference to entity "para2" must end with the ';' delimiter
[/code]
Am I missing anything?
[Message sent by forum member 'miss_duke']

http://forums.java.net/jive/thread.jspa?messageID=485120