728x90
<label>멀티이미지</label> <input type="file" name="files" accept="image/*" multiple="multiple">
멀티 이미지하려면 name="files"해줘야함
이미지 name은 일부러 vo와 다르게 해줘떠
>> write.jsp
이 name과
멀티파일의 files와
fileserviceV5
이 파람의 네임이같아야 동작을 하는거임!!
>> bbsController
null 포인터 exception을 막으려면
null 체크해줘야하는데
스프링 내부적으로 방어체계가 만들어져있어서
이걸빼먹어도 가능했던거임
728x90