zoukankan      html  css  js  c++  java
  • linux下使用tomcat下载中文文件报404not find

    首先,大神指路:http://bbs.csdn.net/topics/391065011?page=1

    相关的一些命令:

    查看当前系统字符编码:env

              locale

    查看系统支持的字符编码:locale -a

    centos7下,需要修改的地方:/etc/profile

      在最后面加上:

      export LC_ALL="zh_CN.gbk"
      export LANG="zh_CN.gbk"

    /etc/locale.conf

      加上:

      LANG="zh_CN.gbk"

      然后就ok了,最后就是在TOMCAT_HOME/conf/server.xml中的Connector标签中添加

      useBodyEncodingForURI="true"

      传送门:http://blog.csdn.net/u010235716/article/details/50427272

  • 相关阅读:
    LSTM
    Realsense D435i
    ubuntu18 realsenseD435i
    net
    test
    LSTM Accuracy
    boost x64 lib
    E0443类模板 "std::unordered_set" 的参数太多
    PropertySheet
    freetype 编译
  • 原文地址:https://www.cnblogs.com/adeng/p/7233516.html
Copyright © 2011-2022 走看看