본문 바로가기

XML5

학원 수업 55일차 221108 9-10 (/springWebRdsJpa02/src/main/resources/templates/board/detail.html) 수정 기능 만들기 https://www.w3schools.com/jquery/jquery_get_started.asp Google CDN: 10-11 mybatis 수정 기능 구현 xml을 이용한 방법 시작 (/springWebRdsJpa02/src/main/resources/mapper/myboard-mapper.xml) https://mybatis.org/mybatis-3/getting-started.html#exploring-mapped-sql-statements 복붙 11-12 mybatis -> xml을 이용한 게시판 구현 댓글 기능 추가 (/springWebRdsJ.. 2023. 4. 27.
학원 수업 37일차 221013 9-10 https://hongeui.tistory.com/13 JSP 파일 생성 직후 에러(The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path) 여기서 정정* 톰캣서버를 클래스패스에 만들어줘야함 zip로 export가능(하지만 용량 너무 커질 수 있어 비추!) 프로젝트 우클릭 > Export > Export ... > General의 Archive File 선택 후 Next > 위치 지정 후 zip로 저장 import할때는 General > Existing Projects into Workspace > Select archive file로 불러오기 import > Gradle Project 10-11 /.. 2022. 11. 17.
학원 수업 29일차 220929 9-10 DBCP(DataBase Conncetion Pool), 커넥션풀 이란? https://zzang9ha.tistory.com/376 프로젝트 만들고 서버 연결, 드라이버 lib폴더에 넣고 시작해 Properties > Java Build Path > Libraries > Classpath에 만들어줘도 되긴하지만 귀찮잖아 src > main > webapp > META-INF 우클릭 > new > other > XML File > context.xml 태그 만들고 https://tomcat.apache.org/tomcat-10.0-doc/jndi-datasource-examples-howto.html#Oracle_8i,_9i_&_10g 1. Context configuration 에 있는 태그 복.. 2022. 10. 27.
학원 수업 28일차 220928 9-10 web03DBCP/src/main/webapp/META-INF 우클릭 > New > other > XML file > context.xml 파일 생성(커넥션 풀) https://tomcat.apache.org/tomcat-10.0-doc/jndi-datasource-examples-howto.html#Oracle_8i,_9i_&_10g 의 1. Context configuration 예시 복붙해서 사용 maxTotal="10" maxIdle="10" 일치시킴 //context.xml 2. web.xml configuration web.xml파일 없으니까 만들어줌 프로젝트 우클릭 > Java EE Tools > Generate Deployment Descriptor Stub 3. Code exam.. 2022. 10. 26.
학원 수업 27일차 220927 9-10 Taglibs https://tomcat.apache.org/taglibs.html 자바의 기능을 태그 형태로 만들어놓음( Java Standard Tag Library (JSTL) ) download해서 쓰면 됨 mvc패턴 https://murphymoon.tistory.com/entry/%EC%9A%B0%EC%95%84%ED%95%9C-%ED%85%8C%ED%81%AC-MVC-%EB%A6%AC%EB%B7%B0-%EB%A0%88%EC%9D%B4%EC%96%B4-MVC-%ED%8C%A8%ED%84%B4-5%EB%A0%88%EC%9D%B4%EC%96%B4 10-11 서버의 역할 웹 서버 다음주 배울 예정 HTML+CSS+JS(JQuery) 링크타이틀 //get //post (명시하지않으면 get).. 2022. 10. 26.