url: cxt+"basicRatesInfo.htm"和url: cxt+"basicRatesInfo.html有什么區(qū)別?為什么從ajax中的URL調(diào)用.html調(diào)不過(guò)去??
小伙看你根骨奇佳,潛力無(wú)限,來(lái)學(xué)PHP伐。
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
,后來(lái)沒有這個(gè)限制了,所以也可以寫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