Attribute value "xx" is quoted with " which must be escaped when used within the
此问题是由于tomcat5.5.28及以上版本升级引起。
- 可以修改代码如下:
类似比如<input type=”text” value=’<%=request.getParameter(“username”)%>’这样。
- 可以在catalina.sh中加入
JAVA_OPTS=”-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false”
- 或者可以在Tomcat的Java Options中加入
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
如图所示:
还没有评论,来说两句吧...