jboss服务器下的中文乱码问题

jboss服务器下的中文乱码问题

需要指定jboss服务器编码,在standalone.xml中extensions节点后面增加如下配置:

<system-properties>
<property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8"/>
<property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true"/>
</system-properties>

posted @ 2021-04-25 14:22  北方客888  阅读(448)  评论(0编辑  收藏  举报