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

		if(serverpwd.equals(member.getPassword())){
			if(photo.getSize()>0){ //업데이트할때 사진 선택시
				String filename = this.getNewFileName();
				String path = sc.getAttribute("rootRealPath") + "file/" + filename;
				photo.transferTo(new File(path));
				member.setPhotos(new String[]{filename});
			}
			memberService.updateMember(member);
			model.addAttribute("status", "SUCCESS");

		}else{
			System.out.println(member.getPassword());
			model.addAttribute("status", "OLD_PASSWORD_ERROR");

		}
		return "member/UpdateResult";
	}