是这样写的代码:

Response.Redirect("http://localhost:8080/projectL/allLogin.html"); 

后台直接报错,经查看搜索后如下解决

在代码后面添加 return; 后 页面访问到了