develop/spring3 spring restful 관련 web.xml, servlet.xml 파일 설정 web.xml kard encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding utf-8 encodingFilter *.do HTMLTagFilter egovframework.rte.ptl.mvc.filter.HTMLTagFilter HTMLTagFilter *.do contextConfigLocation classpath*:egovframework/spring/context-*.xml org.springframework.web.context.ContextLoaderListener kr.re.kisti.kard.comm.ContextListener *.jsp UTF-8 false /WEB-INF/jsp/kisti/com.. 2017. 6. 21. spring property 사용 context-common.xml (전자정부프레임워크 빈등록 파일이다) - 프로퍼티 등록 -file.propertiesfile.url=D:/hybr1d/workspace/src/main/webapp/upload/ckImages -Servlet 에서 사용@Value("#{fileProp['file.url']}")private String FILE_URL; FILE_URL 변수에 값이 선언된다. 2016. 3. 25. 프로젝트 설정 - web.xml web.xml 설정 encodingFilterorg.springframework.web.filter.CharacterEncodingFilterencodingutf-8encodingFilter*.doHTMLTagFilteregovframework.rte.ptl.mvc.filter.HTMLTagFilterHTMLTagFilter*.do contextConfigLocationclasspath*:egovframework/spring/context-*.xml, classpath*:egovframework/batch/job/*.xml contextConfigLocationclasspath*:egovframework/spring/context-*.xml, classpath*:egovframework/batch/job.. 2016. 3. 25. 이전 1 다음