Tomcat

After having spent some time working with Suns JAX-RS implementation Jersey and integrating RESTful-services in a few products i work on, i thought it might be a good idea to share my experiences.

So i decided to write a few blog-posts. I am not sure yet how many parts there will be, my current plan are 3. In this first part i want to talk about the "trivial" things. It took me some time to gather all the information i needed, especially the Maven artifacts to include were not obvious to me.

Tomcat and UTF-8

Posted on May 1st, 2009

There's quite a few threads and pages about utf and tomcat out there, some mentioning URIEncoding in the cofig, others talking about an encoding-filter... None of which worked for me, entering special characters (in this case: umlaute) into a textarea gave me cryptic characters in my jsf-bean!

As it turns out, when the encoding-filter was invoked, it was already too late to change the request-encoding, the request object was already accessed in my very own authenticator-valve, making every later change useless!