Attribute value "xx" is quoted with " which must be escaped when used within the

此问题是由于tomcat5.5.28及以上版本升级引起。

 

1.       可以修改代码如下:

<jsp:include page="fastpost.jsp">
    <jsp:param name="returl" value='<%=Url.encode(“***”) %>' />
</jsp:include>

 

2.       可以在catalina.sh中加入

JAVA_OPTS="-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"

 

3.       或者可以在Tomcat的Java Options中加入

-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false

如图所示:

Attribute value "xx" is quoted with " which must be escaped when used within the

你可能感兴趣的:(attribute)