분류 전체보기
-
[게시판] DataBase프로젝트 2022. 7. 21. 12:43
BoardMapper.xml insert into PTSD_BOARD values(#{TAXI_NUM}, ptsd_seq.nextval, #{TAXI_COMMENT_TITLE}, #{TAXI_COMMENT_WRITER}, #{TAXI_COMMENT_COMMENT}, sysdate, #{BOARDLIST_NUM}, #{RATING}) select * from PTSD_BOARD order by TAXI_COMMENT_DATE desc select * from PTSD_BOARD where TAXI_COMMENT_SEQ=#{TAXI_COMMENT_SEQ} delete from PTSD_BOARD where TAXI_COMMENT_SEQ=#{TAXI_COMMENT_SEQ}
-
[게시판] Controller프로젝트 2022. 7. 21. 12:41
WriterBoardService package com.ptsd.controller; import java.io.IOException; import java.net.URLEncoder; import javax.servlet.RequestDispatcher; 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 com.oreilly.servlet.MultipartReq..
-
[로그인/로그아웃] Controller프로젝트 2022. 7. 21. 12:39
LoginService package com.ptsd.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; 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.ptsd.model.TaxiDAO; imp..
-
[회원 가입, 로그인] Model프로젝트 2022. 7. 21. 12:34
TaxiVO package com.ptsd.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.Setter; @Data @AllArgsConstructor @NoArgsConstructor @RequiredArgsConstructor public class TaxiVO { private int Taxi_seq; @NonNull private String Taxi_num; @NonNull private String Ca..
-
[회원 가입, 로그인] DataBase프로젝트 2022. 7. 21. 12:30
TaxiMapper.xml insert into taxi values(Taxi_seq.nextval,#{Taxi_num},#{Car_kinds},#{Office_name},#{Personal_tel},#{Approve_check},#{Pw}) update taxi set Car_kinds=#{Car_kinds}, Office_name=#{Office_name},Personal_tel=#{Personal_tel},Approve_check=#{Approve_check},Pw=#{Pw} where Taxi_num=#{Taxi_num} delete from taxi where Taxi_num=#{Taxi_num} select * from taxi where Taxi_Num = #{Taxi_num} and Pw ..
-
[회원 가입] Controller프로젝트 2022. 7. 21. 12:28
TaxiJoinService package com.ptsd.controller; import java.io.IOException; import javax.servlet.RequestDispatcher; 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.ptsd.model.TaxiDAO; ..
-
Android 실습 (12)Android 2022. 7. 20. 17:47
package com.example.ex_0720; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.MenuItem; import com.google.android.material.bottomnavigation.BottomNavigationView; import com.google.android.material.navigation.NavigationBarView; public class MainActivity extends AppCompatActivity { BottomNavigationVi..