JSPのエンコード関連


—-

データの日本語部分が、うまく引き取れない。→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


参考になるかもしれない商品


h1

Trackback URL

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

Leave a Comment





popular entry


Categories


Archives

Search



あわせて読みたいブログパーツ フィードメーター - PINKMAC
  • SEO
  • loading
  • PINKMAC -Love Train + Photo + IT Tech