LoginSignup
1
1

More than 5 years have passed since last update.

GlassFishの文字コード指定

Posted at

自分用備忘録

GlassFishの管理画面で[Configurations]>[server-config]>[JVM Settings]を開く
JVM Optionsタブにリストが表示されるため、必要な項目の追加や値の変更を行う。

文字コード指定
-Dfile.encoding=UTF-8

設定ファイルは以下の場所に格納されているため、ファイルを直接編集してもよい。
[インストールディレクトリ]\glassfish-4.1\glassfish\domains\domain1\config\domain.xml

ディレクティブに
xml:domain.xml
<jvm-options>-Dfile.encoding=UTF-8</jvm-options>

を追加

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1