テキストボックス、テキストエリアのテスト
※Tomcat5.xより、FORMのGETメソッドでパラメータを送信した場合、
setCharacterEncodingメソッドを無視するようになりました。
POSTメソッドの場合は有効です。
GETメソッドの場合、server.xmlファイルの<connector>タグのuseBodyEncodingForURI属性
をtrueに指定することで、setCharacterEncodingメソッドを有効にできます。
<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" useBodyEncodingForURI="true" />