본문 바로가기

Framework/__Spring

(20)
SpringOne Americas 2008 http://americas.springone.com/ 다른 S1A 소식.. http://ptrthomas.wordpress.com/ 빨리 3.0을 접해보고 싶다. ----------------------------------------------------------------------------------- 개발자로써 정말 가고싶은곳이나 못가는 제 자신이 너무 한심해지는 이유는 무엇일까? -----------------------------------------------------------------------------------
spring2.5 session webutil 적용하기 2 package com.yahaitt.web; import java.util.Set; import javax.servlet.http.HttpServletRequest; import org.springframework.web.util.WebUtils; import com.yahaitt.model.User; import com.yahaitt.service.UserManager; import com.yahaitt.util.CookieUtil; public class SessionUser { private String id; private String name; private String loginname; private Integer status; private Set resPermissions; private..
Spring2.5 Session WebUtils적용 package web; import bus.*; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.validation.Validator; import org.springframework.web.bind.ServletRequestDataBinder; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.multiaction.MultiActionController; import org.springframework.web.servlet.view...
ibatis iterate 테스트 ------------------------------------------------------------------------------------- /** * ibatis iterate * @param request * @param response * @return */ @RequestMapping("/ibatisIterate.do") public void ibatisIterate(ModelMap model, HttpServletRequest request){ ArrayList alDojo = new ArrayList(); alDojo.add("3"); alDojo.add("64"); alDojo.add("23"); HashMap subjectList =new HashMap() ; subjectLi..
JSTL Selectbox Default Selected Map 이용. ${districtMap.value} \참조 http://tong.nate.com/kangdydtjs/44598428 http://www.javajigi.net/servlet/JMBoard?tablename=tip&mode=view&boardpage=4&searchword=&searchscope=&category=&no=63
Spring 2.5 FIle Upload http://dev.anyframejava.org/anyframe/doc/web/3.0.1/webfw/springmvc/basic/file.html File UploadSpring MVC는 파일 업로드 기능을 지원하기 위하여 Commons 파일 업로드와 COS 파일업로드라이브러리를 지원한다. Anyframe 에서는 Commons 라이브러리를 사용할 것이다. commons 라이브러리를 사용하기 위해서는 commons-fileupload-1.2.jar 파일과 commons-io-1.4.jar파일이 필요하다. 이는 Anyframe 배포 라이브러리에 포함되어 있다. 파일 업로드 기능을 구현하기 위해서는 먼저 빈 설정 파일에 다음과 같이 MultipartResolver를 정의해야한다. 10000000 또한 해당 ..
DaveSyer_IntroducingSpringBatch PPT
Running a Spring Batch Job in The SpringSource Application Platform Posted on May 30th, 2008 by Dave Syer in Spring, OSGi, Application Platform. In this article I will show you how to run a Spring Batch job in the SpringSource Application Platform. I ran an early version of this up as a little demo for JavaOne, and then again at the London Spring User Group, and thought it might be a good thing to share. The sample code is here. The Bundles First we'll do a quic..