users@grizzly.java.net

UTF-8 URI Encoding in grizzly/glassfish

From: Peter Cline <pcline_at_pobox.upenn.edu>
Date: Thu, 13 Mar 2008 12:15:16 -0400

Hi all,

I posted this to the glassfish forums and it was suggested that I ask
here. So, apologies to anyone who is reading this for the second time.

I'm wondering if anyone knows how to configure glassfish to encode URLs
in UTF-8. I'm considering moving to glassfish from tomcat as a servlet
container (and more later). I'm running solr instances and need to be
able to pass utf-8 encoded characters through the URL. With the default
settings, it's using some other encoding and everything comes back garbled.

In tomcat, I had to add a URIEncoding="UTF-8" attribute to the active
Connector in the server.xml. I can't find any kind of an analog for this
in glassfish, or any other place that seems obvious to specify this.
Thoughts anyone?


Thanks,
Peter