@RequestMapping("login")
    public ModelAndView login(@RequestParam("nickname") String nickname,
	    @RequestParam("password") String password,
	    HttpServletResponse response) {
	TextHttpResponse res = new TextHttpResponse();
	ModelAndView mod = new ModelAndView();
	mod.setViewName("login");
	try {
	    res = priceSysBiz.login(nickname, password);
	} catch (Exception e) {
	    e.printStackTrace();
	}

//	Hashtable<String, String> heads = res.getHeads();
//	Enumeration<String> keys = heads.keys();

//	while (keys.hasMoreElements()) {
//	    String key = (String) keys.nextElement();
//	    String value = heads.get(key);
//	    response.setHeader(key, value);
//	}
	
//	String cookieStr = heads.get("Set-Cookie");
//	String[] arr = StringUtils.split(cookieStr, "; ");
//	for (int i = 0; i < arr.length; i++) {
//	    System.out.println(arr[i]);
//	    if (arr[i].contains("_gcj_session")) {
//		cookieStr = StringUtils.split(arr[i], "=")[1];
//		System.out.println(StringUtils.split(arr[i], "=")[1]);
//		mod.addObject("cookie", StringUtils.split(arr[i], "=")[1]);
//		break;
//	    }
//	}
	
	return mod;
    }