Home >Web Front-end >HTML Tutorial >The value of the frameset page and the entire page jump problem_html/css_WEB-ITnose

The value of the frameset page and the entire page jump problem_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:44:151374browse

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