is quoted with " which must be escaped when used within the value

導入別人的項目遇到這樣一個問題,問題出在這行:

<logic:notEqual value="<%=(String)session.getAttribute("loginGroupID")%>" name="domain" property="domainID">改爲

<logic:notEqual value='<%=(String)session.getAttribute("loginGroupID")%>' name="domain" property="domainID">問題解決。

發佈了21 篇原創文章 · 獲贊 1 · 訪問量 8萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章