Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Escaping ampersand '&' - urgent

843840Jul 1 2008 — edited Jul 1 2008
I trying to pass a parameter to <jsp:include>, is there any way to escape the ampersand in the parameter value being passed.

Code is something like this:
<jsp:include page="/MyPage.jsp">
	<jsp:param name="department" value="R&D" />
</jsp:include>
Here when i do a request.getParameter("department"), it just gives the value before ampersand.
Could you please help me to resolve this?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2008
Added on Jul 1 2008
10 comments
1,818 views