You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/03/08 11:10:01 UTC

Failed to use a character encoding filter with struts

Subject: Failed to use a character encoding filter with struts
From: "Tea Yu" <te...@hknet.com>
 ===
The simple SetCharacterEncoding filter accompanied with tomcat 4.0.2 is
configured as follows:

  <filter>
    <filter-name>Set Character Encoding</filter-name>
    <filter-class>filters.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>
   <servlet-name>action</servlet-name>
  </filter-mapping>


However, newly compiled JSPs give the following internal servlet error:

org.apache.jasper.JasperException: File "/tags/struts-html" not found
 at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:214
)
 at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174
)
 at
org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(Js
pParseEventListener.java:1162)
 at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseE
ventListener.java:758)
 at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingLi
stener.java:121)
 at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
 at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:21
3)
...


I'm using struts nightly build 20020306.....

Thank you
Tea Yu



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>