cuiyi's blog(崔毅 crazycy)

记录点滴 鉴往事之得失 以资于发展
数据加载中……

quoted with ' which must be escaped when used within the value

问题
JSP在Jboss5下出现问题:
org.apache.jasper.JasperException: /ctr/ctrbook/journal/maininfo.jsp(29,30) Attribute value "this.form.batch.disabled = true;this.form.action='"+request.getContextPath()+ "/ctrentrywiz.do';" is quoted with ' which must be escaped when used within the value


解决方案-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false


具体应用 Jboss V5
# Sample JPDA settings for shared memory debugging 
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false" 

posted on 2012-03-06 21:10 crazycy 阅读(637) 评论(0)  编辑  收藏 所属分类: JavaEE技术


只有注册用户登录后才能发表评论。


网站导航: