Home > front end >  How to implement password inspection functions?
How to implement password inspection functions?

Time:10-03



<meta name="viewport" content="width=device - width, initial - scale=1.0, the maximum - scale=1.0, user - scalable=no"/& gt;
<meta HTTP - equiv="content-type" content="text/HTML. Charset=utf-8 "& gt;
<meta HTTP - equiv="X - UA - Compatible" content="IE=edge, chrome=1" & gt;
Login & lt;/title> <br/><br/><link rel="stylesheet" type="text/CSS" href="https://bbs.csdn.net/topics/css/style.css" & gt; <br/><br/><The script type="text/javascript" SRC="https://bbs.csdn.net/topics/js/jquery.min.js" & gt; </script> <br/><The script type="text/javascript" SRC="https://bbs.csdn.net/topics/js/vector.js" & gt; </script> <br/><br/></head> <br/><body> <br/><Input the id="uname" & gt; <br/><The button id="BTN" & gt; Submit & lt;/button> <br/><br/><Div id="container" & gt; <br/><Div id="output" & gt; <br/><Div & gt; <br/><H1 & gt; User login & lt;/h1 & gt; <br/><The form action='../weibo/weibo. HTML 'onsubmit="return fn ()" & gt; <br/><Input type="text" name="userName" value="https://bbs.csdn.net/topics/admin"/& gt; <br/><Input type="password" name="password"/& gt; <br/><The button type="submit" & gt; Login & lt;/button> <br/></form> <br/></div> <br/></div> <br/></div> <br/><br/><The script type="text/javascript" & gt; <br/>$(function () {<br/>Victor (" container ", "output"); <br/>$(" # entry_name "). The focus (); <br/>The $(document). Keydown (function (event) {<br/><br/>}); <br/>}); <br/><br/><br/></script> <br/><Div style="text - align: center;"> <br/></div> <br/><br/></body> <br/></html><p class="article - content rp"> CodePudding user response: </p>Do simple judgment in js, or make the form data is submitted to the servlet, the servlet in receiving submitted data, to do judgment, can after receiving data, connect to the database in the database to find the password, and to be received in the database to find password and password do the comparison </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/frontend/49171.html" target="_blank" style="color:#999">https//www.codepudding.com/frontend/49171.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/frontend/49170.html'>How to get baidu map township border</a></div> <div class="detail-arr-right">Next:<a href='/frontend/49172.html'>O JAVAWEB design enterprise human resources management system source code, thank you folks</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=HTML+%28CSS%29' target='_blank'>HTML (CSS)</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>