문제 : idForm, pwForm, id, pw, passwordForm, password 페이지에
sitemesh의 layout 부분 제거하기.
📌 SiteMeshFilter.java 수정하기.
//- addExcludedPath("/member/memberimg*")
// : url이 /member/memberimg로 시작하는 경우 layout.jsp 페이지 적용 안함.
public class SiteMeshFilter extends ConfigurableSiteMeshFilter {
@Override
protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
builder.addDecoratorPath("/*","/layout/layout.jsp")
.addExcludedPath("/member/memberimg*")
.addExcludedPath("/member/idForm*")
.addExcludedPath("/member/pwForm*")
.addExcludedPath("/member/id*")
.addExcludedPath("/member/pw*")
.addExcludedPath("/member/passwordForm*")
.addExcludedPath("/member/password*");
}
}
'수업 문제(국비 지원) > JSP' 카테고리의 다른 글
| [JSP] 2022.10.14 (deleteForm.jsp 페이지를 이용하여 게시물 삭제 부분 완성하기) (0) | 2023.04.29 |
|---|---|
| [JSP] 2022.10.13 (dao.boardCount(boardid) : board 테이블의 boardid값에 해당하는 게시물 건수 리턴) (0) | 2023.04.29 |
| [JSP] 2022.10.11 (회원탈퇴) (0) | 2023.04.29 |
| [JSP] 2022.10.07 (입력된 수 까지의 합구하기) (0) | 2023.04.29 |
| [JSP] 2022.10.06 (EL언어 문제 (if,choose 조건문), bookForm.jsp 동작하도록 book.jsp 구현하기 ) (0) | 2023.04.29 |