package kcc.com.srch.web; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.RequestMapping; import kcc.com.srch.service.SearchService; import kcc.com.srch.service.SearchVO; @Controller public class SearchController { private static final Logger LOGGER = LoggerFactory.getLogger(SearchController.class); @Autowired private SearchService searchService; @RequestMapping(value = "/com/srch/Search.do") public String totalSearch( ModelMap model , @ModelAttribute("searchVO") SearchVO searchVO ) throws Exception { searchVO.setPagingSize("3"); searchService.searchListSet(searchVO, model); return "com/srch/searchList"; } }