@RequestMapping(value="/add", method=RequestMethod.POST)
	public String add(Member member, MultipartFile photo , Model model) throws Exception {

		String filename = this.getNewFileName();
		String path = sc.getAttribute("rootRealPath") + "file/" + filename;
		photo.transferTo(new File(path));
		member.setPhotos(new String[]{filename});
		try{
			memberService.signUp(member);

			return "redirect:list.do";
		}catch(Exception e){
			model.addAttribute("status", "ADD_FAIL");
				
			return "member/UpdateResult";
		}
	}