Multiple parameter passing in a url.

I have seen many post on this subject but I have yet to see a answer that works for me. I am trying to pass two parameters in a url. When I type the url in the JSP,:

/faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}&personNa me=#{currentRow.value['PERSON.PERSONNAME']}

I get the following error:

Details.jsp:93: The reference to entity "personId" must end with the ';' delimiter.

So then I change the '&' to '%26' and the error goes away. But now when I run the application the function

personId= (String) getFacesContext().getExternalContext().getRequestParameterMap().get("personId") ;

returns null.

the url in the web browser address bar looks just like the jsp, so I then replace the '%26' with '&' in the web browser address bar and IT works.

It looks like I need to get the "&" in my JSP, but can't becasue the Editor posts that error.

[945 byte] By [RonL] at [2007-11-26 11:19:35]
# 1
You need to escape the "&" character using XML syntax, as it is making your JSP invalid. So type "&" instead of "&".// GregoryMessage was edited by: gjmurphy
gjmurphy at 2007-7-7 3:34:50 > top of Java-index,Development Tools,Java Tools...