tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iyad Elayyan" <>
Subject Content is not allowed in prolog.
Date Thu, 17 Jul 2003 07:08:39 GMT
I found what's causing this wierd error: Content is not allowed in prolog.
when using jsps in tomcat. the solution is to switch web.xml to use xsd
<web-app xmlns=""
    xsi:schemaLocation=" web-app_2_4.xsd"

hope someone fixes tomcat4.0 and 5.0 to support dtds for back compatibility. 
toreproduce try the jstl-examples with a web.xml that has
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN" "">


MSN 8 with e-mail virus protection service: 2 months FREE*

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

View raw message