jspx script element on GlassFish v3

前端 未结 4 619
刺人心
刺人心 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:23

    Unfortunately, jspx is known to "minimize" empty elements. One way to prevent the minimization without adding a space to the rendered HTML is to insert a comment. For example:

    
    

    It is still ugly, though.

提交回复
热议问题