<!--JSTL中替换\r\n-->
<c:set var="projectDetails" value="${message}"></c:set>
<%
request.setAttribute("vEnter", "\\r\\n");//用\转义
%>
${fn:replace(projectDetails,vEnter,"<br>")}
posted on 2016-05-16 16:21 阅读( ...) 评论( ...)