84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Divide the page into several frames. After logging in, display the exit button in top.jsp
Click the exit button, and the right.jsp on the back side should jump to login.jsp again
But how to do it? How to control the jump of right.jsp in top.jsp?
欢迎选择我的课程,让我们一起见证您的进步~~
To solve the problem, use: (for specific personal circumstances, see the details of the DOM tree structure)
window.parent.frames("rightFrame").window.location.href="right.jsp";
And this line of code cannot be followed by a redirect command: response.redirect();Redirect will invalidate the previous page jump.
response.redirect();
Do you need front-end jump or server-side jump? jsp means forwarding and redirection, I think redirection is what you want
If it’s a front-end jump, you can exit directly at that location<a href="./right.jsp">Exit</a>Wouldn’t the page jump if you change it to this?
<a href="./right.jsp">Exit</a>
To solve the problem, use: (for specific personal circumstances, see the details of the DOM tree structure)
And this line of code cannot be followed by a redirect command:
response.redirect();
Redirect will invalidate the previous page jump.
Do you need front-end jump or server-side jump? jsp means forwarding and redirection, I think redirection is what you want
If it’s a front-end jump, you can exit directly at that location
<a href="./right.jsp">Exit</a>
Wouldn’t the page jump if you change it to this?