1. <form:form + validation 시 <font color="red"><form:errors path="buyerCharger" /></font> 작동 안하는 이유는?
- LprodController에서 수정 실패시 리턴이 redirect여서 작동하지 않았다.
return "lprod/detail"; 로 수정 후 작동
2. Showing 106 to 112 of 108 entries 에서 112를 108로 변경
<c:if test="${list.currentPage*7<=total}">
Showing ${list.currentPage*7-6} to ${list.currentPage*7} of
${total} entries
</c:if>
<c:if test="${list.currentPage*7>total}">
Showing ${list.currentPage*7-6} to ${total} of
${total} entries
</c:if>
3. Show 10 entries 작동 처리
4. 수정버튼 클릭 시 이미지 밑에 <input type="file"... 요소가 보여지고,
확인 버튼을 누르면 이미지 수정하기. 미리보기도 구현해보기.
'개발자 > JspSpring' 카테고리의 다른 글
| outer 조인 (0) | 2022.02.16 |
|---|---|
| 20220215 스프링 프로젝트 흐름 파악하기 (0) | 2022.02.15 |
| 20220210 미리보기 (0) | 2022.02.10 |
| 20220210 썸네일 (0) | 2022.02.10 |
| 20220210 @ResponseBody (0) | 2022.02.10 |