tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bip_Thelin/people/
Subject Re: [Proposal] Default Encoding option for JSP/Tomcat in server.xml or web.xml
Date Sat, 12 May 2001 19:26:14 GMT

"Craig R. McClanahan" wrote:
> [...]
> On Sun, 13 May 2001, Alec Yu wrote:
> >
> > [snip] I just feel curious, why the standard specifications cost
> > people here so much maintainance time, just because they don't allow
> > us to specify default encodings for compilation time, input time and
> > runtime once only in some few configuration files, but force us to
> > specify them in every pages & every servlet code. Meanwhile, in this
> > manner, as our products co-operate with those code/pages come from
> > other people, we have to ask their developers: May you send us a copy
> > of source code/pages? May you take concern on some character encodings
> > other than your own using one? May you ......

Without having looked any closer on how Filters actually work, but couldn't
this be implemented in a filter? i.e. Have a filter that configures for a
char set and mangles everything before it's sent to the browser.


View raw message