@RequestMapping(value="/profile", method=RequestMethod.POST)
	public ModelAndView profileWrite(  ProfileInfo profileInfo, Model viewModel, BindingResult bindingResult){
		ModelAndView mav = new ModelAndView();
		mav.setViewName("profileWrite");
		
		new ProfileInfo().validate(profileInfo, bindingResult);
		if( bindingResult.hasErrors()){
			viewModel.addAttribute("reslut", "Write Err");
			return mav;
		}
		
		ProfileDAO profileRepository = ProfileDAO.getInstance();
		int res = profileRepository.Add_Data( profileInfo);
		if(res > 0){
			//mav.addObject("reslut", "Write Success");
			viewModel.addAttribute("reslut", "Write Success");
    	}
    	else{
			//mav.addObject("reslut", "Write Fail");
			viewModel.addAttribute("reslut", "Write Fail");
    	}
	    
		return mav;
	}