javaweb use of forward short-answer authentication markers

Using the format:
<JSP: forward page = ""> </ JSP: forward>
forward tag is the page jump to forward specified .jsp file, but does not change the current url In other words, if refresh the page before the page is displayed page content
workflow diagram:
Here Insert Picture Description
item list
Here Insert Picture Description
page displays the code
Here Insert Picture Description

Forward_check submit a request to go to the directory for the post. forward_check Code:! [inserted here described image] (https://img-blog.csdnimg.cn/20190603204937760.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzIzMjQyMw==,size_16,color_FFFFFF, t_70) if (name.equals ( "love") && password.equals ( "123")) {%>} // successful jump to page <%} else {%> // jump to the page failed <% }%> content is too simple success or failure is not given here Code:! [inserted here described image] (https://img-blog.csdnimg.cn/20190603205605395.png) [insert the picture described herein] (HTTPS! : //img-blog.csdnimg.cn/20190603205618663.png x-oss-process = image / watermark, type_ZmFuZ3poZW5naGVpdGk, shadow_10, text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzIzMjQyMw ==, size_16, color_FFFFFF, t_70) [insert the picture described herein] (https?!: //img-blog.csdnimg.cn/20190603205640968.png)! [insert picture description here] (https://img-blog.csdnimg.cn/20190603205651137.png?x-oss-process=image/watermark,

Guess you like

Origin blog.csdn.net/weixin_43232423/article/details/90758912