Attribute value [request.getAttribute(“XXXX”)] is quoted with ["] which must be escaped when used within the value。
错误原因:""的问题
解决方案如下:
原错误代码:<jsp:param name=“paramName” value="<%=request.getAttribute(“paramName”)%>" />
这么改写:
1.转义:<jsp:param name=“paramName” value="<%=request.getAttribute(“paramName”)%>" />
2 单引号 <jsp:param name=“paramName” value=’<%=request.getAttribute(“paramName”)%>’ />