<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登岸界面</title> </head> <body> <div> <font size="10px" color="#00008b">用户登录</font> <form action="/login" method="post"> <table> <tr> <th>用户名</th> <td><input type="text"/></td> </tr> <tr> <th>暗码</th> <td><input type="password"/></td> </tr> <tr> <td colspan="2"> <input type="submit" value="登录"/> <input type="reset" /> </td> </tr> </table> </form> <a href="https://www.jb51.net/jsp/register.jsp">当即注册</a> </div> </body> </html>
login_error.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>登录验证</title> </head> <body> <div> <font size="10px" color="#00008b">用户登录</font><br> <font size="5px" color="red">登录信息不存在,请从头登岸!!!</font> <form action="/login" method="post"> <table> <tr> <th>用户名</th> <td><input type="text" /></td> </tr> <tr> <th>暗码</th> <td><input type="password" /></td> </tr> <tr> <td colspan="2"> <input type="submit" value="登录"/> <input type="reset"> </td> </tr> </table> </form> <a href="https://www.jb51.net/jsp/register.jsp">当即注册</a> </div> </body> </html>