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 閱讀(644) 評論(0)  編輯  收藏 所屬分類: JavaEE技術

          主站蜘蛛池模板: 凭祥市| 陕西省| 郯城县| 镇沅| 开阳县| 乐昌市| 万安县| 芒康县| 鹿泉市| 北安市| 西华县| 定襄县| 集贤县| 安溪县| 峡江县| 德庆县| 登封市| 南部县| 西昌市| 武胜县| 长沙县| 茌平县| 和林格尔县| 江陵县| 乌拉特前旗| 萍乡市| 青岛市| 虎林市| 五常市| 习水县| 磐安县| 玉树县| 新巴尔虎右旗| 偏关县| 晋江市| 砚山县| 饶阳县| 长春市| 镇雄县| 安多县| 北川|