4
我正在浏览asp.net网站上的ASP.Net网页表单教程here:。本教程包含一段自定义错误,这对我来说有点奇怪。Web.Config奇怪的<customErrors>部分?
<customErrors mode="On" defaultRedirect="ErrorPage.aspx?handler=customErrors%20section%20-%20Web.config">
<error statusCode="404" redirect="ErrorPage.aspx?msg=404&handler=customErrors%20section%20-%20Web.config" />
</customErrors>
问:有人可以解释在的defaultRedirect & 查询字符串参数handler=customErrors%20section%20-%20Web.config"
重定向?
这个语法有特殊含义吗?
感谢马蒂,得到了答案。 – Nexus23