2007/11/16, Mark Thomas <[EMAIL PROTECTED]>:
>
> Some standard text I wrote a while ago follows. The most useful bit is
> probably the URIEncoding attribute on the connector.

Thanks Mark, I think I read your paper somewhere before I decided to
write to this help request. In fact, if you read carefully the last
paragraph of my original post, I said that I already tried setting the
connector parameter URIEncoding="UTF-8". Unfortunately, this parameter
is read after the first parse occurred, as I explained there, making
the subsequent setting useless in terms of request body parsing. I
think (I didn't investigate further) this is due a Valve I wrote that
accesses the request parameters before the Connector.getURIEncoding()
is invoked the first time. I solved this with another Valve (which
code is copy/pasted from the SetCharacterEncodingFilter) that is
invoked as the first in the chain.

Thanks,

TN

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to