摘要:
一、重定向:服务器通知浏览器,重新发送请求(浏览器地址要改变,两次请求两次相应)绝对路径:response.sendRedirect("http://localhost:8080/datapub/1.html ");相对路径:response.sendRedirect("1.html "); response.sendRedirect("../datapub/1.html ");或者:response.setstatus("302"); response.serHeader("location" 阅读全文
posted @ 2014-01-10 17:11
Crazy Lee
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号