Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
JSF
url attribute of <h:graphicImage/> not accepting 2nd request parameter
Namitha karupaiya
Ranch Hand
Posts: 89
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I use a
Servlet
to stream an image from the database and I use the <h:graphicImage/> tag for display as follows:
<h:graphicImage url=”/servletUrl?para1=name1¶2=name2”/>
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
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
& in url parameter value
Any solution for h:graphicImage using rich:toolTip
IMP c:remove doubt
jsp:include & jsp:param
Problem using JSF and Tiles
More...