I need to add filter elements into web.xml file for correct encoding of form's data.
In web.xml I was changed dtd into http://java.sun.com/dtd/web-app_2_3.dtd
and add this:
<filter>
<filter-name>Set Character Encoding</filter-name>
<filter-class>org.apache.filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>Set Character Encoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
class org.apache.filters.SetCharacterEncodingFilter I have, of course.
but, when deploy I got error that "filter" and "filter-mapping" must be declared and if I run this web app, I got exception :
org.apache.jasper.JasperException: File "/tags/struts-bean" not found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)when I disable filter and filter-mapping in web.xml, it runs, but data from forms comming damaged, of course.
Where can be problem? Thanks, Jiri
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

