Skip to content

Instantly share code, notes, and snippets.

@enujo
Created January 6, 2017 05:56
Show Gist options
  • Save enujo/46bc8637a799de236020dc76b6e9e14a to your computer and use it in GitHub Desktop.
Save enujo/46bc8637a799de236020dc76b6e9e14a to your computer and use it in GitHub Desktop.
spring mvc insert
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BOARD ADD</title>
</head>
<body>
<h1>BOARD ADD</h1>
<form action="<c:url value='/board/boardAdd'/>" method="post">
<div>boardPw :</div>
<div>
<input name="boardPw" id="boardPw" type="password" />
</div>
<div>boardTitle :</div>
<div>
<input name="boardTitle" id="boardTitle" type="text" />
</div>
<div>boardContent :</div>
<div>
<textarea name="boardContent" id="boardContent" rows="5" cols="50"></textarea>
</div>
<div>boardName :</div>
<div>
<input name="boardUser" id="boardUser" type="text" />
</div>
<div>
<input type="submit" value="글입력" /> <input type="reset" value="초기화" />
</div>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment