2016년 11월 27일 일요일

form submit form 임시생성해서 전송하는 방법

$('body').append('<form id="tmpForm" method="post"/>');
$('#tmpForm').attr('action', '${popupUrl}');
$('#tmpForm').attr('target', '_new');
$('#tmpForm').append('<input type="hidden" name="originErpCustCd" value="1233"/>');
$('#tmpForm').submit();

2016년 11월 16일 수요일

[spring] spring form tag 적용

http://giyatto.tistory.com/70

2016년 11월 13일 일요일

2016년 11월 9일 수요일

jstl c:forEach list 관련 정리

http://marobiana.tistory.com/9

추가 설명
아래와 같이 객체 안에 객체를 . 으로 참조하여 화면에 보여줄 수 있다

<td colspan="3">
  <c:forEach var="account" items="${partner.erp.accounts }">
  <p>${account.bank.name}
  , ${account.bankCodeEnum.name}
  , ${account.number}</p>
  </c:forEach>
</td>

2016년 11월 8일 화요일

java fileupload 관련

로컬 파일 경로 잡는게 두가지가 있는데
1. d:/image/55.jpg
2. d:\\image\\55.jpg

이와 같이 \일 경우2개를 넣어야함