If you are using a servlet 2.3 compliant server like Tomcat 4.0, you can use a filter to control this. Look at this example 'Example: Modifying the Request Character Encoding' at:
http://java.sun.com/products/servlet/Filters.html Or you could modify the Struts source code to set your character type on the request as it comes into the ActionServlet if you can't use filters. Although the filter solution is much cleaner and separate from your main code. David --- Gordon Luk <[EMAIL PROTECTED]> wrote: > Hi all, > > I got problem on charterencoding, because my program > for chinese, so i > have use charset=big5, but when use the actionform, > it change back to > iso8859. :-( then, I search for the problem/solution > for charterencoding > on mail-list, i got the solution, that is i write my > own ActionServlet, > and set encoding to "Big5"... that mean hardcode on > my program :-(, > anyway, it work fine. > > I just wonder, any better solution for other then > default iso8859 > encoding, that i don't need hardcode on my program? > > Thanks for attention. :-) > > > Gordon > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at > http://mail.yahoo.com > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

