jsp application - implement user login function

Project structure

 

1.login.jsp

 

 

 

 Say nothing of this, the form is submitted to the verification page to check

2. First obtain user request domain, password, and then check to verify the success of domain information into session, and then forwarded to the right.jsp page

Domain into session to prevent log into

 

 

3. On the right, jsp obtain a user name output

 

 4. to remember request ------ getParameter ( "")

session--getAttribute("")

5. At this point the end of the landing page

 

Guess you like

Origin www.cnblogs.com/baiaixing/p/11535956.html