BACK-END

    [MessageSystem]Controller_Class

    [MessageSystem]Controller_Class

    1. JoinService insert into messageboard values(num_board.nextval,#{title},#{writer},#{filename},#{content},sysdate) select * from messageboard order by b_day desc select * from messageboard where num = #{num} delete from messageboard where num=#{num} 2. LoginService package com.smhrd.controller_class; import javax.servlet.RequestDispatcher; import javax.servlet.http.HttpServletRequest; import ja..

    [MessageSystem]DataBase

    [MessageSystem]DataBase

    1. SqlSessionManager import java.io.IOException; import java.io.Reader; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; public class SqlSessionManager { static SqlSessionFactory sqlSession; static { String resource="com/smhrd/database/mybatis-config.xml"; Reader reader; try { reader = Resources...

    [MessageSystem]Model

    [MessageSystem]Model

    1. MemberVO import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class MemberVO { private String email; private String pw; private String phone; private String address; } 2. DAO import java.util.ArrayList; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import co..

    [MessageSystem]ViewBoard.jsp

    [MessageSystem]ViewBoard.jsp

    제목 작성자 다운로드 내용 뒤로가기

    [MessageSystem]WriterBoard.jsp

    [MessageSystem]WriterBoard.jsp

    제목 작성자 내용

    [MessageSystem]BoardMain.jsp

    [MessageSystem]BoardMain.jsp

    번호 제목 작성자 시간 삭제 삭제 홈으로가기 작성하러가기