jspx script element on GlassFish v3

前端 未结 4 639
刺人心
刺人心 2020-12-21 15:51

The .war is served from GlassFish v3. I am trying to include a javascript file from my jspx.



        
4条回答
  •  佛祖请我去吃肉
    2020-12-21 16:34

    A potentially cleaner solution would be to create a custom taglib that outputs correct HTML, e.g.:

    
    

    producing:

    ]]>
    

    I covered this topic in more detail here: How to produce valid HTML with JSPX? (not XHTML)

提交回复
热议问题