Re: struts2 web.xml question

2006-12-13 Thread Don Brown
Should also mention, Struts 2 will set the character encoding for you via the "struts.i18n.encoding" setting. This can be set either as an init-param to the Struts 2 filter, in /WEB-INF/classes/struts.properties, or in your struts.xml. See http://struts.apache.org/2.x/docs/configuration-files.ht

Re: struts2 web.xml question

2006-12-13 Thread Don Brown
You need two elements, and I'd put your filter first. Change: struts2 /* Set Character Encoding /* To: Set Character Encoding /* struts2 /* Don On 12/13/06, red phoenix <[EMAIL PROTECTED]> wrote: I have a filter configure question about struts2,i want to filter chara

struts2 web.xml question

2006-12-13 Thread red phoenix
I have a filter configure question about struts2,i want to filter character code in web.xml file,I know how to configure it in struts 1.3, C:\tomcat\webapps\exercise\WEB-INF\web.xml ... Set Character Encoding filters.SetCharacterEncodingFilter encoding gb2312 Set Charac