form用get方式提交时,会出现中文乱码。
这时需要通过修改${RESIN_HOME}/conf/resin.xml来设置编码格式.
<host-default>
<!-- creates the webapps directory for .war expansion -->
<web-app-deploy path="/data/admin"
expand-preserve-fileset="WEB-INF/work/**"
multiversion-routing="${webapp_multiversion_routing}"
path-suffix="${elastic_webapp?resin.id:''}"/>
<character-encoding>UTF-8</character-encoding>
</host-default>
<code><character-encoding>UTF-8</character-encoding></code>为添加的标签。