본문 바로가기
728x90
반응형

IT관련153

jar 파일 사용 정리 cos.jar 파일 업로드 기능 구현할 때 필요 commons-collections-3.2.2.jar DBCP(Data Base Connection Pool) 데이터베이스 커넥션 할 때 필요 commons-dbcp-1.3.jar commons-pool-1.6.jar ojdbc8.jar 데이터베이스 작업할 때 필요 servlet-api.jar jstl.jar JSTL(JSP Standard Tag Library) 사용할 때 필요 standard.jar ※ JSP 파일 생성했을 때 X표시 해결방법 The superclass "jakarta.servlet.http.HttpServlet" was not found on the Java Build Path (= Java 빌드 경로에서 수퍼 클래스 "jakarta... 2022. 3. 7.
[JSTL] jstl.jar / standard.jar 파일 다운로드 및 추가방법 JSTL(JSP Standard Tag Library)을 사용하려면 jstl.jar와 standard.jar 파일이 필요하다. 파일 다운로드 및 추가 방법은 아래와 같다. ① 링크 접속 (https://archive.apache.org/dist/jakarta/taglibs/standard/binaries/) Index of /dist/jakarta/taglibs/standard/binaries archive.apache.org ② 사이트 하단에 jakarta-taglibs-standard-1.1.2.zip 파일 다운로드 ③ lib 폴더에 있는 jstl.jar / standard.jar 파일을 복사하여 웹 애플리케이션의 lib 폴더에 추가 (이클립스 경로 : 프로젝트 src 폴더 → webapp 폴더 → .. 2022. 3. 4.
[JSP] 이미지 업로드하기 위해 웹서버 폴더 경로에 접근하는 방법 2가지 방법 내용 부가설명 1 String configFolder = config.getServletContext().getRealPath("접근할 폴더명"); * getRealPath : 폴더에 접근하기 위한 메서드로 생략하면 웹서버 폴더 기본 위치까지만 접근 * 기본 위치 : C:\워크스페이스명\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\프로젝트명 * .getRealPath("eaxm")을 쓰면 eaxm폴더까지 접근. C:\워크스페이스명\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\프로젝트명/eaxm 2 String saveFolder = "접근할 폴더명"; String .. 2022. 2. 9.
인코딩 오류 나는 이유/해결 방법 오류문구 해석 save could not be completed. Try File > Save As... if the problem persists. Reason: Some characters cannot be mapped using "ISO-8859-1" character encoding. Either change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding. Save as UTF-8 Select First Character 저장을 완료할 수 없습니다. 문제가 지속되면 파일 > 다른 이름으로 저장...을 시도합니다. 이유: 일부 문자는 "ISO-8859-1" 문자 인코.. 2022. 2. 9.
728x90
반응형