Hi,
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. Any help would be great.
AS I said previously all the Tomcat examples have stopped working and the very simple JSP test I did below does not work.
<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
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. Any help would be great.
AS I said previously all the Tomcat examples have stopped working and the very simple JSP test I did below does not work.
<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