• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Namitha karupaiya
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!