Java combined with foreground single page jump

when users do not log in or login timeout, they have to jump to the page. If you visit the home page directly, I can jump to the landing page directly. However, set session to 30 seconds, wait for the timeout on the home page, click on an interface at random, and only display the jump on the console. However, there is no change on the page and the address has not changed. To solve the problem, html is based on spa single page application. The java jump is based on the resp.sendRedirect (url), foreground page effect of the interceptor, as shown in the figure
clipboard.png
Jump displays a html, directly in the newword instead of replacing the url,. Why

Mar.02,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c01347-32548.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c01347-32548.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?