1. join.jsp

2. joinOk.jsp

3. login.jsp

4. loginOk.jsp

5. logout.jsp

6. main.jsp

7. modify.jsp

8. modifyOk.jsp

9. member.js

10. memberDAO.java

11. memberDTO.java

*memberDAO and memberDTO must be in "first" package

*must be connected to DB with Connection pool setting

*must change DB setting into your account.

allFile.zip
0.01MB

<this is the next step after JSP Register Process

so, you must do JSP Register Process to follow this>

 

1. in the JSP Register Process,

you have done Connection pool setting

and made database, DAO, DTO

(check JSP Register Process)

 

2. login.jsp 작성

a. log in form 만든다

b. loginOk에서 설정한 chkMember 세션 확인

3. memberDAO 에 methods 추가

a. 결과 상수값 추가

b. memberCheck methods 생성

c. getMember methods 생성

4. loginOk.jsp 파일 작성

a. memberCheck method 를 이용해

chkNum 값을 int 형으로 받아온다

b. getMember method 를 이용해

data를 DTO를이용해 받아온다

5. main.jsp 작성 after log in

a. chkMember session 을통해 로그인상태를확인

b. 로그인 인증된 상태일경우 name 출력

6. logout.jsp 작성 after log out

7. check with an account in DB

+ Recent posts