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