Would you give me a simple code for it?

On 4/20/07, Drew Kutcharian <[EMAIL PROTECTED]> wrote:

Can you use different filters/filter mappings for different URL patterns?

Drew Kutcharian
Venarc Inc.   www.venarc.com



----- Original Message ----
From: red phoenix <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Thursday, April 19, 2007 7:58:47 PM
Subject: How to set filter in Struts2?

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?

Thanks.





Reply via email to