본문 바로가기

develop/spring

spring boot applcation.properties파일 설명 출처 http://coalamovement.tistory.com/entry/Spring-boot-applicationproperties-%EC%84%A4%EB%AA%85 # =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # =================================================================== # ------------------.. 더보기
tomcat accesslog pattern 설정 (standard 설정) Common Log Format: %{X-Forwarded-For}i %l %u %t "%r" %s %b2Combined Log Format: %{X-Forwarded-For}i %l %u %t %r %s %b %{User-Agent}i %{Referer}i tomcat 의 server.xml 파일 안에 accesslog를 찍어내는 설정 중 pattern을 지정할 때 "common"이나 "combined"를 주면 스탠다드한 설정이 된다. common으로 했을 시 로그 포맷은 : %{X-Forwarded-For}i %l %u %t "%r" %s %b combined으로 했을 시 로그 포맷은 : %{X-Forwarded-For}i %l %u %t %r %s %b %{User-Agent}i %{Referer}i 더보기
log4j pattern layout 설정 값 %a - Remote IP address %A - Local IP address %b - Bytes sent, excluding HTTP headers, or '-' if zero %B - Bytes sent, excluding HTTP headers %h - Remote host name (or IP address if resolveHosts is false) %H - Request protocol %l - Remote logical username from identd (always returns '-') %m - Request method (GET, POST, etc.) %p - Local port on which this request was received %q - Query string (pr.. 더보기
Spring Roo 소개 프레지로 제작한 걸 피피티로 옮겨서 이미지화 한후 다시 올리는 센ㅅ..ㅡ 혹은 노가다 ;; 2. 설치 및 기초간단한 계시판 작성 4-2 추가 기능 만들기- 다국어 지원 기능 추가하기Shell 명령어 : web mvc install language --code xx영어 스페인어 등 6개국 언어 지원 - i18N 추가 기능 작성으로 한국어 기능 추가하기 4. 추가사항 및 참고사항4-4. 커맨드 창에서 만들기 - 부록 Roo 제거하기 더보기
노트에 막 적은것들 통째로 복사 spring com/t?st.jsp - com/test.jsp, com/tast.jsp 또는 com/txst.jsp 등에 매칭된다. com/*.jsp - com 디렉토리에 있는 모든 .jsp에 매칭된다. com/**/test.jsp - com 경로 아래에 위치한 모든 test.jsp와 매칭된다. org/springframework/**/*.jsp - org/springframework 경로 아래에 위치한 모든 jsp와 매칭된다. catalina bin 폴더에서 ./catalina.sh jpda start 하고 8000포트로 원격 디버깅 가능 service:jmx:rmi:///jndi/rmi://localhost:8991/jmxrmi catalina.out 파일 안쌓이게하기touch "$CATALINA_O.. 더보기