URL parameters require the parameter values (and names) to be appropriately encoded. You can use the URLEncoder class to do this yourself, or the and tags can be used to handle it for you. <c:url value="mypage.jsp" var="myUrl"> <c:param name="nameParam" value="${name}" /> <c:param name="ageParam" value="${age}" /> <c:param name="genderParam" value="${gender}" /> </c:url> Click <a href='<c:out value="${myUrl}"/>'>here</a>
↧