분류 전체보기

    .JSP 파일 코드

    GOAHEAD Toggle navigation 이용내역 킥보드 이용시작 블랙박스 확인 고객센터 로그아웃 GO AHEAD 고객정보조회 아이디 이용번호 킥보드 번호 헬멧 번호 이용시작시간 이용종료시간 이용시간

    아두이노 Module 코드

    package com.smhrd.module; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.smhrd.dao.moduleDAO; import com.smhrd.domain.moduleVO; @WebServlet("/module") p..

    FrontController 코드

    package com.smhrd.frontcontroller; import java.util.HashMap; import com.smhrd.controller.AccController; import com.smhrd.controller.Controller; import com.smhrd.controller.JoinController; import com.smhrd.controller.LoginController; import com.smhrd.controller.LogoutController; import com.smhrd.controller.MemberlistController; import com.smhrd.controller.UlocationController; import com.smhrd.con..

    Domain 코드

    package com.smhrd.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class AccVO { private String mem_name; private String mem_id; private String mem_phone; private String mem_subphone; private String mem_blood; private int use_number; private String acc_loc_lat; private String acc_loc_long; public Ac..

    DAO 코드

    package com.smhrd.dao; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import com.smhrd.dao.SqlSessionManager; import com.smhrd.domain.Member; public class DAO { private SqlSessionFactory sqlSessionFactory = SqlSessionManager.getSqlSession(); private SqlSession sqlSession = null; // 회원가입 메소드 public int Join(Member vo) { int row = 0; try { sqlSessi..

    Controller 코드

    package com.smhrd.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.smhrd.dao.UseDAO; import com.smhrd.domain.AccVO; import com.smhrd.domain.HelmetVO; import com.smhrd.domain.UseVO; import com.smhrd.module.module; public class..