Spring 프로젝트

Spring 게시판 데이터 수정페이지

테라시아 2025. 2. 1. 22:33

☆ Code

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Modify</title>
<style>
	input {
		border-width: 0 0 3px;
		outline: none;
	}
</style>
</head>
<body>
	<form action="/board/modify" method="post">
		<p>번호 : <input type="text" name="bno" th:field="${board.bno}" readonly></p>
		<p>제목 : <input type="text" name="title" th:field="${board.title}"></p>
		<p>내용 : <input type="text" name="content" th:field="${board.content}"></p>
		<p>저자 : <input type="text" name="writer" th:field="${board.writer}"></p>
		<p>등록일 : <input type="text" name="regdate" th:field="${board.regdate}" readonly></p>
		<button>수정완료</button>
	</form>
</body>
</html>

'Spring 프로젝트' 카테고리의 다른 글

Spring UserMapper.xml  (0) 2025.02.03
Spring user 도메인  (0) 2025.02.02
Spring 프로젝트 프로퍼티  (0) 2025.01.31
mapper criteria  (0) 2025.01.30
타임리프를 통한 데이터 받아오기  (0) 2025.01.29