struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristian Peraferrer <corellia...@gmail.com>
Subject Re: Empty lines before doctype declaration
Date Mon, 06 Apr 2009 14:48:16 GMT
I have seen that the problem wasn't related with UTF-8 nor the XML  
parser.
It is about JSP configuration, I have put the following in my web.xml:

<!-- Avoid unwanted newlines and spaces -->
<jsp-config>
  <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <trim-directive-whitespaces>true</trim-directive-whitespaces>
  </jsp-property-group>
</jsp-config>

This solved my problem.

On 06/04/2009, at 13:14, Cristian Peraferrer wrote:

> I'm using struts 2.1.6, using JSP's with Tiles plugin, and I'm  
> getting empty lines before the doctype, but in my JSP's there aren't  
> spaces. Where I should look at?
>
> Thanks,
> Cristian.
>
> -- 
> GPG Key-ID: 0x564903FA - Jabber ID: corellian at swissjabber.ch
>

-- 
GPG Key-ID: 0x564903FA - Jabber ID: corellian at swissjabber.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message