board/read.html > SPRING_DATA_JPA

본문 바로가기

사이트 내 전체검색

뒤로가기 SPRING_DATA_JPA

board/read.html

페이지 정보

작성자 관리자 작성일 24-06-24 09:31 조회 417 댓글 0

본문

<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org"

      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"

      layout:decorate="~{include/layout.html}">

<body>

<div layout:fragment="content">

<br>


<center>

<h1>READ</h1>

<table width="700" border="1">

<tr>

<th width="50">제목</th>

<td th:text="${dto.title}"></td>

</tr>

<tr>

<th>내용</th>

<td th:utext="${#strings.replace(dto.content, changeLine, '<br/>')}"></td>

</tr>

<tr>

<th>작성자</th>

<td>[[${dto.writer}]]</td>

</tr>

</table>

<table width="700" border="0">

<tr>

<td><a th:href="|@{list}?${pageRequestDTO.link}|">[목록]</a></td>

<td align="right">

<a th:href="|@{modify(bno=${dto.bno})}&${pageRequestDTO.link}|">[수정]</a>

<a th:href="@{remove(bno=${dto.bno})}">[삭제]</span>

</td>

</tr>

</table>

</center>


<br>

<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>

<script src="/js/reply.js"></script>

</div>


<th:block layout:fragment="script">

<script th:inline="javascript">

const bno = [[${dto.bno}]]

get1(bno)

</script>

</th:block>


</body>

</html>


댓글목록 0

등록된 댓글이 없습니다.


Copyright © dancePKT. All rights reserved.
PC 버전으로 보기