본문 바로가기

프로그래밍 기초

(45)
[JSP]페이징 로직 페이징에 필요한 로직이며 아래 그림의 변수를 참고하여 상황에 알맞게 변경하여 사용가능하다.
[JSP]smarteditor 사용하기 smarteditor를 사용하면 글꼴변경, 사진첨부 등을 이용할 수 있다.
[JSP]내장객체 parameter,attribute 그리고 session
[JSP] filter
[JSP]리다이렉트와 포워드(redirect, forward) 예를 들어 페이지 url1,url2가 있다고 가정하고 리다이렉트와 포워드이동을 비교하겠다. 리다이렉트(redirect) :마지막 응답시 주소는 url2 포워드 (forward) :마지막 응답시 주소는 url1 클라이언트의 요청->url1 응답(임시요청할 url2주소 포함)->url2요청(앞에서받은 url로요청)->응답 페이지 전환의 주체 : 웹브라우저(ex.internet explorer) 단순한 페이지 이동방식 다른폴더에서도 사용가능하다. 절대경로로 표기한다. request,response정보가 유지되지 않는다. 클라이언트 url1에 요청->url1에서 url2로포워드이동->url2응답 페이지 전환의 주체 : 웹컨테이너(ex.tomcat) 파라미터값에 대한 정보를 유지한다. 같은 폴더 내에서만 사용가능..
[JSP] Filter
[JAVA]자동완성 만드는 Templates window -> preferences에서 자동완성을 수정,삭제,추가할 수 있다.
[jsp] 환경설정 정리 1.이클립스다운 아래 링크에서 운영체제에 맞게 설치한다. https://www.eclipse.org/downloads/packages/ Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source pro 446 MB 1,083 DOWNLOADS The Modeling package provides tools and runtimes for building model-based applications. You can use it to graphically design domain models, to leverage those models at de..