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

前端 未结 7 1696
清酒与你
清酒与你 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 01:13

    This can be fixed with a IDE Regexp Replace:

    (<\w+:(?:[^>]|<%=[^%]+%>)+=)"([^<"]*<%=[^%]*"[^%]*%>[^"]*)"
    

    For the replacement text, enter:

    $1'$2'

提交回复
热议问题