tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Tomcat 4 and "DecodeInterceptor"
Date Sat, 21 Jun 2003 23:59:16 GMT

"Yoav Shapira" <yoavs1@yahoo.com> wrote in message
news:20030621151101.34196.qmail@web40603.mail.yahoo.com...
> Howdy,
> Your DecodeInterceptor usage covered inappropriately designed web page ;)

That's the entire point of DecodeInterceptor ;).  While it does a pretty
good job of guessing the char-set, it's real power is to give a
(Tomcat-specific) way to use the functionality of
request.setCharacterEncoding (which is new in the 2.3 spec).

>
> Use a Filter to do this in tomcat 4.  You'll have to write a request
charset
> setting filter as that doesn't come built-in to tomcat.
>
> Yoav Shapira
>
> --- j p <Jan.Peknik@atlas.cz> wrote:
> > Hi,
> >
> > I have problem moving my App. to tomcat 4. On TC 3.3 I used
> > <DecodeInterceptor .... /> feature to force cp-1250 when decoding
request
> > data.
> > I've searched this in TC 4.1, but I didn't find anything with similar
> > functionality.
> > I have following problem: I have jsp page with form, which has set
> > contentType to
> > "text/html; charset=windows-1250". When I'm processing posted data on
> > another page,
> > request.getParameter() returns incorrectly decoded strings - national
> > characters are replaced with '?'.
> >
> > Any help?
> >
> > Thanks, Jan Peknik.
> >
> >
>
____________________________________________________________________________
____
> > Stydím se ho vytáhnout! A jaký je vás důvod vyměnit svůj telefon za
nový?
> > Nokia 6610 jiz od 6977 Kč. http://www.atlas.cz/clickAD.asp?ad=32086
>
>
> =====
> Yoav Shapira
> yoavs@computer.org
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message