通过修改应用程序的customerrorsgt配置标记的“defauredirect”属性,使之指向自定义错误页的url,可以用自定义错误页替换所看到的当前错误页。
tablewidth=quot100%quotbgcolor=quot#fffquotgt
trgt
tdgt
codegt
!web.config配置件gt
configurationgt
gt
/bodygt
<script>app2()</script>
<script>chaptererror()</script>
通过修改应用程序的customerrorsgt配置标记的“defauredirect”属性,使之指向自定义错误页的url,可以用自定义错误页替换所看到的当前错误页。
tablewidth=quot100%quotbgcolor=quot#fffquotgt
trgt
tdgt
codegt
!web.config配置件gt
configurationgt
gt
/bodygt
<script>app2()</script>
<script>chaptererror()</script>