Re: implement dynamic filter

2009-07-22 Thread André Warnier
lanxiazhi wrote: hello, I have a web app in tomcat ,where exists some .jsp,.vm files, these files are saved using different encoding(I think).when requested,some of them display urgly,garbled. so I think maybe I can implement such a filter:first read the content of the file,and* *decide which cha

RE: implement dynamic filter

2009-07-22 Thread Caldarale, Charles R
> From: lanxiazhi [mailto:lanxia...@gmail.com] > Subject: implement dynamic filter > > I have a web app in tomcat ,where exists some .jsp,.vm files, > these files are saved using different encoding(I think). Why don't you simply fix the encoding the files are stored in?

implement dynamic filter

2009-07-22 Thread lanxiazhi
hello, I have a web app in tomcat ,where exists some .jsp,.vm files, these files are saved using different encoding(I think).when requested,some of them display urgly,garbled. so I think maybe I can implement such a filter:first read the content of the file,and* *decide which charset it's saved,and