struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: How to set filter in Struts2?
Date Fri, 20 Apr 2007 07:52:08 GMT
red phoenix wrote:
> I want to set a filter,then I set different character code by this
> filter,such when a request from a1.action,I will set this character code is
> UTF-8,a request from a2.action,I will set this character code is
> ISO88591,and so on.I don't know how to realize above function in filter?
> Anybody could tell me how to do it?

My first question has to be, why would you want to? Unless you have a 
very specific requirement that prevents it, I would suggest just using 
UTF-8 everywhere.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message