JSPのエンコード関連
- http://www.itmedia.co.jp/developer/java/jspprog/03/
- http://www.javadrive.jp/servlet/japan/index1.html
—-
データの日本語部分が、うまく引き取れない。→Tomcat の server.xml にコード変換の指定が必要。~次のように server.xml の最後に <Context>…</Context> を追加した。
</ContextManager>
<Context path=”/sak” docBase=”webapps/sak” debug=”0″ reloadable=”true”>
<DecodeInterceptor defaultEncoding=”Shift_JIS” useSessionEncoding=”false” />
</Context>
</Server>
http://homepage2.nifty.com/sak/w_sak3/doc/sysbrd/servlet_jsp_k07.htm

Trackback URL
No comments yet to “JSPのエンコード関連”