The .war is served from GlassFish v3. I am trying to include a javascript file from my jspx.
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)