simple error due to use of double quotes in a jsp file

前端 未结 7 1669
清酒与你
清酒与你 2020-12-14 00:36

I have the following line of code in a JSP File in my web app that is giving an error:



        
7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-14 00:58

    If you don't want to modify your JSPs, just set:

    org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
    

    in your {TOMCAT_ROOT}/conf/catalina.properties file. Works like a charm!

    Kudos from here.

提交回复
热议问题