惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Security Latest
Security Latest
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
S
Secure Thoughts
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
罗磊的独立博客
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
V
V2EX
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tenable Blog
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
F
Full Disclosure
H
Help Net Security
博客园 - Franky
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
A
Arctic Wolf
O
OpenAI News
S
Securelist

博客园 - standas

获取元素的绝对位置 安装 Realtek HD Audio Driver 失败 CSS工具列表 Meta标签详解 changimg - standas - 博客园 网页中调用本地exe程序 - standas - 博客园 Microsoft JET Database Engine 错误 '80040e09' FCKeditor 在上传中文文件时文件名出现乱码 用于asp.net还原与恢复sqlserver数据库的killspid存储过程 ASP.NET访问Oracle数据库的方法(转) oracle_net.msi下载地址 oracle常用函数 oracle连接字符串 网站被挂木马,中毒了 电脑出现怪问题 全球15个顶级技术类博客 十个未来发展趋势 java课程资源 Java环境搭建
Tomcat 支持中文和不区分大小写 - standas - 博客园
standas · 2010-05-15 · via 博客园 - standas

  windows平台tomcat安装,简单版Windows Executable版,可以双击运行,根据提示点击下一步,就可完成基本配置,免去了设定环境变量等手动操作。

  tomcat的server.xml文件
<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true"  URIEncoding="UTF-8"/>

URIEncoding="UTF-8"    加上这句就可以识别中文文件了,如果URI中含有中文,可以在URIEncoding="UTF-8"之后加上useBodyEncodingForURI="true" 。

 为了使其不区分大小写,可以在其<Context >元素中增加“caseSensitive="false"”来保证该Context定义的路径下的内容不区分大小写。如果没有该配置节,可以在server.xml中添加这个配置节。

   <Context path="/test"  caseSensitive="false"
                docBase="C:\test" reload="true" debug="0">
    </Context>