Home > Back-end >  Jump for the second time the JSP page
Jump for the second time the JSP page

Time:12-05

There is a 1. JSP, two url:
A:www.a.com
A1:www.a.com/second

Background:
A is the home page, do the single sign-on, click can jump straight do not need to log in to
B is the secondary pages, didn't do a single sign-on, direct access to jump to the login page
If you click on a, after login, then click on b, can be directly into the
Now I wanted to do this action, the browser is redirected to a first, a period of time to redirect to b, to achieve effect of single sign-on b

Such as I am now in order to realize the browser type http://localhost:80/1.jsp, goto www.a.com first, then the interval of 5 s after the jump, www.a.com/second, and the address bar is always only one, don't open a new page, how to achieve this?

CodePudding user response:

His top!
  • Related