Y
yzzzzz
Hi,
I am using Tomcat 5.5 and struts 1.2.4, everything in XHTML.
Here is my problem:
If file.jspx contains
<script type="text/javascript" src="file.js"></script>
after it is parsed by Tomcat, the browser receives
<script type="text/javascript" src="file.js"/>
This is correct, and Firefox understands it, but it is not backwards
compatible with HTML, so MSIE doesn't. I just get a blank page with MSIE.
Is there any solution to this problem? (Maybe a filter that could change
<script/> back to <script></script> or something)
Thank you.
(PS. no I'm not going back to serving HTML4!)
I am using Tomcat 5.5 and struts 1.2.4, everything in XHTML.
Here is my problem:
If file.jspx contains
<script type="text/javascript" src="file.js"></script>
after it is parsed by Tomcat, the browser receives
<script type="text/javascript" src="file.js"/>
This is correct, and Firefox understands it, but it is not backwards
compatible with HTML, so MSIE doesn't. I just get a blank page with MSIE.
Is there any solution to this problem? (Maybe a filter that could change
<script/> back to <script></script> or something)
Thank you.
(PS. no I'm not going back to serving HTML4!)