Jspx files and conditional comments

后端 未结 4 760
长情又很酷
长情又很酷 2021-01-03 04:30

I\'d like to create a web application using Spring and .jspx web pages.

My question is how can I put conditional commentaries for IE in jspx? They seem to be not int

4条回答
  •  礼貌的吻别
    2021-01-03 04:49

    Well, if you view the generated HTML, you will realize, that jstl will escape the stuff out in the conditional comment, so it will not work:

    
    

    So Abhi, you need to tell jstl to leave the conditional part alone, tell it to don't parse it. Jstl will not ignore it, just because you've put it in the .

提交回复
热议问题