JSP's suddenly have no output
843835Mar 6 2003 — edited Mar 14 2003Hi,
I have Tomcat 4.06 installed running as a stand alone server for development reasons. I have various web apps set up using Servlets and JSP pages. All was working fine until last week when the JSP pages stoped outputing anything. They compile fine and the Servlet code it generates looks fine, no errors are found in the Tomcat log but nothing appears on the screen any more and when I do a right click and view source there is only the skeleton HTML page.
The simple JSP test page I wrote is below, this along with all the other just outputs a blank page, the HTML of which I have included below.
SIMPLE JSP
<HTML>
<HEAD>
<%response.setHeader("Pragma","No-Cache");
response.setDateHeader("Expires",0);
response.setHeader("Cache-Control","no-Cache");
response.setContentType("text/html;charset=ISO-8859-9" );
%>
</HEAD>
<BODY>
Normal HTML text = HELLO
JSP text = <%="HELLO" %>
</BODY>
</HTML>
This like everything else at the moment comes out as a blank page.
One interesting thing I did note is the HTML skeleton that is generated is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Which seems to be ignoring the charecter set I tried to use.
I have looked in the Tomcat logs access logs and the content length for any JSP request is always - . Any help would be great.
Thanks
Andre