tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject Odd characters inserted in response after JSPC
Date Wed, 18 Aug 2004 10:32:02 GMT
Hi Guys

I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the very
start of most of my my responses which use a certain template JSP ...


I use 2 layouts, one for home and one for other pages. This problem is not happening on the
home page although both that and the page layout use the same JSP code

The home class code shows the following:

_jspx_out = out;
        out.write("\r\n\r\n\r\n\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
\"\">\r\n\r\n<html xmlns=\"\">\r\n\r\n\t<head>\r\n\t\t<title>iQ
: The QAS Intranet</title>\r\n\t\t<link rel=\"stylesheet\" href=\"/resources/skins/");

Whilst the page class code has 3 output numbers \357\273\277 !?:

_jspx_out = out;
        out.write("\357\273\277\r\n\r\n\r\n\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD
XHTML 1.0 Transitional//EN\" \"\">\r\n\r\n<html
xmlns=\"\">\r\n\t<head>     \r\n\t\t<title>iQ :

The JSP top sections in both home and page JSPs are

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page language="java" errorPage="/views/error/error.jsp" %>
<%@ taglib uri="/WEB-INF/iq.tld" prefix="iq" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

Any ideas why JSPC is adding these?

Cheers, Allistair.

QAS Ltd.
Developers of QuickAddress Software
<a href=""></a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message