<%@ page language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%>
<%=request.getContextPath()%>
위를 el로 바꾸면 아래와 같다.
${pageContext.request.contextPath}
'개발하자 > JSP&Servlet' 카테고리의 다른 글
EL)application.getInitParameter을 EL로 바꾸기 (0) | 2015.03.12 |
---|---|
EL)스크립트릿을 EL로 바꾸기(cookie사용) (0) | 2015.03.12 |
EL)db 테이블 조회하여 id가져오기 (0) | 2015.03.12 |
EL)requestScope (0) | 2015.03.12 |
EL)paramValues (0) | 2015.03.12 |