1, 登陆注册页面

wlf
何楚 6 years ago committed by zhai_lw
parent d3ffde9a2e
commit 2973d5c48a

@ -0,0 +1,22 @@
package servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet(name = "login")
public class login extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
}
}

@ -1,17 +1,20 @@
<%-- <%--
Created by IntelliJ IDEA. Created by IntelliJ IDEA.
User: zhai_ User: lenovo
Date: 2019/1/9 Date: 2019/1/9
Time: 10:10 Time: 11:02
To change this template use File | Settings | File Templates. To change this template use File | Settings | File Templates.
--%> --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html> <html>
<head> <head>
<title>Title</title> <title>Title</title>
<script type="text/javascript" src="test2.js"></script> <script src="webPage/jsFile/jquery-3.3.1.js" type="text/javascript"></script>
<script src="test5.js" type="text/javascript"></script>
<script src="updateT.js" type="text/javascript"></script>
</head> </head>
<body> <body>
<div class="tes">holle</div>
<div class="tes2">holle</div>
</body> </body>
</html> </html>

@ -23,5 +23,6 @@ $(document).ready(
function () { function () {
$('.to-register').on('click', showRegister); $('.to-register').on('click', showRegister);
$('.to-login').on('click', showlogin); $('.to-login').on('click', showlogin);
$('.submit-style').on('click',)
}) })

Loading…
Cancel
Save