Janne, Just curious why the need for the filter assuming all your requests go through Stripes. Do you have other non-Stripe traffic or perhaps the filter does other things as well. If not, the Stripes code is pretty clear... it effectively invokes exactly what your filter does... just curious what the benefit is... b/c I don't see the point and another filter... no matter how marginal the code is... is going to impact performance / scalability / resources unnecessarily... . No?
Also, the OP wanted to know how to enable UTF-8 all the way to the DB... so it wasn't how many ways you could do this... so again I don't see the point about doing this in an interceptor... but sure if Stripes didn't have built-in support... I would consider a filter or interceptor but the case is moot IMO. Rather my point was about having missed including this in the list of things I did to enable UTF-8 support in reply to the OP. Cheers, --Nikolaos Janne Jalkanen wrote: >> Basically, in addition to the other things I mentioned there indeed is one >> Stripes configuration that I set... by creating a custom LocalePicker >> subclass that picks the character encoding "UTF-8"... and dropping it the >> configured Stripes extensions folder... the relevant code is as follows: >> > > Ah, ok, thanks for the tip. > > I still don't mind putting in the extra filter, since all my projects seem to > have a ton of them anyway, and dropping in one extra line isn't much bother > :-) > > I imagine one could also put in a custom Interceptor, if we're in the process > of listing different ways of enabling UTF-8 :-D > > /Janne > ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users