-
Notifications
You must be signed in to change notification settings - Fork 0
/
loginForm.jsp
29 lines (27 loc) · 896 Bytes
/
loginForm.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<%--
Created by IntelliJ IDEA.
User: leo
Date: 2023/05/05
Time: 1:18 AM
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LoginForm</title>
</head>
<body>
<h1>loginForm.jsp</h1>
<%--<form-login action="<c:url value='j_spring_security_check' />" method="post">--%>
<form action="<spring:url value="j_spring_security_check" />" method="post">
ID : <input type="text" name="j_username"> <br>
PW : <input type="text" name="j_password"> <br>
<input type="submit" value="LOGIN"> <br>
<%--</form-login>--%>
</form>
</body>
</html>