본문 바로가기

개발36

톰캣 재시작 없이 Java 수정 1. spring-loaded 다운로드 1-1) jar 다운로드 - maven : http://mvnrepository.com/artifact/org.springframework/springloaded/ Maven Repository: org.springframework » springloaded » 1.2.8.RELEASE org.springframework springloaded 1.2.8.RELEASE // https://mvnrepository.com/artifact/org.springframework/springloaded compile group: 'org.springframework', name: 'springloaded', version: '1.2.8.RELEASE' // https://m.. 2020. 8. 15.
테이블로 VO, Insert, Update문 만들기 1. VO 만들기 --VO 만들기 select 'private String ' || lower(SUBSTR(a.COLUMN_NAME, 1,1))||SUBSTR(replace(INITCAP(lower(a.COLUMN_NAME)), '_',''), 2) || ' = "";' || ' //' || NVL(b.COMMENTS, '') as 빈소스 FROM USER_TAB_COLS a , USER_COL_COMMENTS b WHERE a.TABLE_NAME = b.TABLE_NAME and a.COLUMN_NAME = b.COLUMN_NAME AND a.TABLE_NAME=upper('TB_BOARD'); 2. SELECT --SELECT 만들기 select decode(rownum, 1, 'SELECT ' ||.. 2020. 8. 13.
jsp 태그 설정 1. TAG 설정 1-1) tospan.tag ♥♥ 1-2) dynamicSelect.tag 2. JSP 설정 hello 2020. 8. 12.
Spring 다국어 적용 1. servlet-context.xml 2. Controller 설정 private org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(MainController.class); @Autowired SessionLocaleResolver localeResolver; @Autowired MessageSource messageSource; @RequestMapping(value = "/i18n.do", method = RequestMethod.GET) public String i18n(Locale locale, HttpServletRequest request, Model model) { // RequestMapingHandler로 부터 받은 Locale.. 2020. 8. 11.