页面跳转的差别

页面跳转的区别window.location.replace(3.jsp)是不向服务器发送请求的跳转.?window.location.href(3.

页面跳转的区别

window.location.replace("3.jsp");是不向服务器发送请求的跳转.

?

window.location.href("3.jsp");是向服务器发送请求的跳转.

?

window.history.go(-1);wondow.history.back();方法是根据服务器记录的请求决定该跳到哪个页面的.