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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org