1
4

1 回答 1

1

Try this

if (httpException is HttpRequestValidationException)
{
    Response.Redirect("~/error/InvalidInput");
}
于 2012-07-18T17:44:21.203 回答