When developing, always encounter case-sensitive issue.
Sometimes, for convenience. Some such as grammar or operating systems are case insensitive.
But a lot of the language is strictly the case.
Java,Js
Java, Js language is strictly case-sensitive.
html
HTML tag is not case sensitive, vue is recommended v-a-a
that烤串形式
URL
The domain part of the URL is case-insensitive.
However, behind the increase of the parameter section is case-sensitive
Problems caused by sensitive URL
We do web development, meet the request js, css, html files when sometimes get directly to the server path.
In this case the URL is case-sensitive, but the windows is the file name is not case of so causing think URL parameters section does not distinguish between illusion.
file name
Distinction depends操作系统
- Windows file names are case-insensitive
- Linux file name is strictly case sensitive
We often develop on windows, deployed on linux.
So in order to avoid any further complications. Filename All lower. Use between words -
connected
Tomcat
Tomcat is the default case-sensitive.
However, you can set does not distinguish, but is not recommended.
Tomcat is case-sensitive settings
database
Database table names, field names are case-sensitive.
But will default to lowercase.
You can use `symbols to deal with, express distinction