java - .html和.html
伊谢尔伦
伊谢尔伦 2017-04-18 10:47:44
0
2
962

url: cxt+"basicRatesInfo.htm"和url: cxt+"basicRatesInfo.html有什么区别?为什么从ajax中的URL调用.html调不过去??

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
阿神

basicRatesInfo.html This file does not exist on the server.

The extension actually only affects the windows system, and the extension is not important elsewhere. For example, in a browser, it mainly looks at the MIME type in the http header.
In fact, this is a good method, so it is also adopted by other software or systems.
In the past, the extension on Windows could only have 3 characters, so the file name could only be written htm,后来没有这个限制了,所以也可以写html, but they had the same meaning, but because the file names were different, they were still two different files.

大家讲道理

htm is the abbreviation of html, there is no other difference. The reason why html cannot be called is because your URL is wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!