「Tomcat8」web.xmlにpageEncodingを指定するサンプル

書式
<page-encoding>UTF-8</page-encoding>
使用例

<jsp-config>
      <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <el-ignored>false</el-ignored>
            <page-encoding>UTF-8</page-encoding>
            <scripting-invalid>false</scripting-invalid>
            <include-prelude>/WEB-INF/common.jsp</include-prelude>
      </jsp-property-group>
</jsp-config>

 

Tomcat

Posted by arkgame