Java/Servlet&JSP

Servlet/JSP #6

DGeon 2023. 3. 13. 09:28

 

JSP에서 EL문법으로 JAVA 메소드를 호출할때 get을빼야하고 첫글자에 대문자로 메소드를 정의 했다면 소문자로 호출해야된다

EL문법 EMPTY사용법

<c:if test="${not empty cri.type}">
<c:forEach items="${cri.type}" var="type">
<input type="hidden" name="type" value="${type}">
</c:forEach>
<input type="hidden" name="keyword" value="${cri.keyword}">
</c:if>
  • formaction="modify”