구현구현2 - 상세보기 구현구현3 - 상품 추가구현4 - 이미지 추가구현5 - 유효성검사 / 다국어구현6 - 시큐리티web.xml JSPBook index.html index.htm index.jsp default.html default.htm default.jsp tomcat role1 admin JSPBOOK /ch10/security01.jsp GET 설명 role1 JSPBOOK /ch10..
JAVA/JSP
page 디렉티브 태그 errorPageexception의 자바 내장 객체를 사용해주기 위해선 페이지에서 를 설정해줘야함errorPage.jsp name 파라미터 : errorPage_error.jsp 예외 유형 : 단계별 오류 출력 : 예외 객체 타입 : 오류 메세지 : 예외 처리 예제 - 나눗셈exception.jsp 숫자1 : 숫자2 : exception_process.jsp / = exception_error.jsp 예외 : toString : 주요 오류 코드 종류200 : 요청이 정상적으로 처리됨307 : 임시로 페이지가 리다이렉트 됨400 : 클라이언트의 요청이 잘못된 구문으로 구성됨401 : 접근이 허용되지 않음404 : 지정된 URL을 처리하기 위한 자..
구현구현2 - 상세보기 구현구현3 - 상품 추가구현4 - 이미지 추가구현5 - 유효성검사 / 다국어tomcat-users.xml that surrounds them. You will also need to set the passwords to something appropriate.-->" roles="manager-gui"/> " roles="manager-script"/>--> that surrounds them. You will also need to set the passwords to something appropriate.--> web.xml JSPBook index.html index.htm index.jsp default.html ..
시큐리티(security)허가된 사용자만이 특정 웹페이지 에 접근할 수 있도록 제한하는 보안 기능 인증(authentication) : 로그인(아이디, 비밀번호)인가(authorization) : 로그인 후 권한 체킹server>tomcat-users.xml that surrounds them. You will also need to set the passwords to something appropriate.-->" roles="manager-gui"/> " roles="manager-script"/>--> that surrounds them. You will also need to set the passwords to something appropriate.--> WEB-IN..
SPA(Single Page Application) 서버로부터 완전한 새로운 페이지를 불러오지 않고 현재의 페이지를 동적으로 다시 작성함ajax(axios로 CRUD) 생성daoemp.pyimport pymysqlclass DaoEmp : def __init__(self): self.conn = pymysql.connect(host='127.0.0.1', port=3305, user='root', password='python', db='python', charset='utf8') ..
구현구현2 - 상세보기 구현구현3 - 상품 추가구현4 - 이미지 추가유효성 검사addProduct.jsp스크립트와 해당 스크립트 안에 있는 함수 사용(onclick) 상품 등록 상품 코드 상품명 가격 상세정보 제조사 카테고리 재고수 상태 신규 제품 중고 제품 재생 제품 이미지 validation2.js/** * */function Ch..