Was this necessary with tomcat 4.1.x too? Cheers, Henner
> -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Shawn > Gesendet: Mittwoch, 7. April 2004 10:28 > An: dbf interest > Betreff: Re: [dbforms] Char encoding > > > Hi Henner, > > > > I know that you work with different charsets in your web > application. > > I could remember that you needed some encoder/decoder in > your web.xml. > > 1) in the jsp page ... > <[EMAIL PROTECTED] contentType="text/html;charset=Shift_JIS"%> > > > > In the moment we have a discussion about the right char encoding. > > > > Please could you help us and tell what you have done to show the > > japanise charsets? > > And send me the needed classes? > > 2) in web.xml > > <web-app> > <filter> > <filter-name>Set Character Encoding</filter-name> > <filter-class>filters.SetCharacterEncodingFilter</filter-class> > <init-param> > <param-name>encoding</param-name> > <param-value>Shift_JIS</param-value> > </init-param> > </filter> > > <filter-mapping> > <filter-name>Set Character Encoding</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > 3) find and compile the filter put it in WEB-INF/filters/ > > its distributed with tomcat > you can find it someplace like > jakarta-tomcat-5.0.18/webapps/jsp-examples/WEB-INF/classes/filters > > (note I changed the package location on the one I sent > directly to Henner, > so if you get it from him be aware of that.) > > -- > Shawn > > Happily using M2, Opera's revolutionary e-mail client: > http://www.opera.com/m2/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President > and CEO of GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > DbForms Mailing List > http://www.wap-force.net/dbforms ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms