The general code is as follows:
1. This is the display page after successful login. I want to display the message welcoming xx on top.jsp. But I can't get it through request.getAttribute? It is probably returned to the frameset page. But I don't know how to pass this value from the frameset page to top.jsp.
2. When I click the logout link of top.jsp, I want to return to the login interface, but by doing this
only the top.jsp page jumps , the entire frameset page does not jump.
Reference: http://www.w3school.com.cn/tags/att_a_target.asp
As for welcoming "XX", this "XX" , just use the EL expression in JSP directly;
For example, you put username in the session in the background, and then directly ${username} in JSP