I guess almost everybody has been hit by the “IE shows only a blank page” issue while experimenting with XHTML back then. It is because IE requires a closing tag. The following fragment will not work in IE:
<script type="text/javascript" src="…" />
But this works:
<script type="text/javascript" src="…"></script/>
Ok, we learned that.
Today I had a hard time with IE showing a white page and all I had done was converting an old .jsp into a .jspx file.
What happened?
After hitting google with every type of phrase I could imagine describing my problem, I finally found it out: The servlet container (Tomcat 5.5.12) removed the closing script tag because the content of the script tag was empty. DOH!
What did the trick?
For now I do the following:
<script type="text/javascript" src="…"><– –></script/>
Wow. If you love surprises - do web development. 