tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finlay.Li" <Finlay...@arcotect.com>
Subject web.xml Parse Error
Date Thu, 29 May 2003 11:42:36 GMT
Hello,

I got a web.xml parse error aftering adding this to web.xml:
  <filter>
    <filter-name>Set Character Encoding</filter-name>
    <filter-class>caps.SetCharacterEncodingFilter</filter-class>
    <init-param><param-name>encoding</param-name><param-value>Big5</param-value></init-param>
  </filter>

  <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

Tried to changed to this (found in TOMCAT_HOME/conf/web.xml) but still not work out:
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

Is it a bug? Attached pls find all the xml of my application.

Thanks,
Finlay Li


Mime
View raw message