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

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" 

你可能感兴趣的:(quoted with ' which must be escaped when used within the value)