<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
</head>
<body>
<div style="text-align: center">
    <%--${pageContext.request.contextPath}代表的是项目名--%>
    <form action="${pageContext.request.contextPath}/login" method="get">
        username:<input type="text" name="username"><br>
        password:<input type="password" name="password"><br>
        hobbies:
        <input type="checkbox" name="hobbies" value="美女">美女
        <input type="checkbox" name="hobbies" value="代码">代码
        <input type="checkbox" name="hobbies" value="唱歌">唱歌
        <input type="checkbox" name="hobbies" value="电影">电影
        <br>
        <input type="submit">
    </form>
</div>

</body>
</html>
