<%-- # contextPath : ttp://localhost:8080/12_EL request.getContextPath() : --%> pageContext.jsp

contextPath


정 보 입 력


<%-- request의 getContextPath() 메서드 --%>

ContextPath

${pageContext.request.contextPath}

ContextPath

"> <%-- # contextPath : ttp://localhost:8080/12_EL request.getContextPath() : --%> pageContext.jsp

contextPath


정 보 입 력


<%-- request의 getContextPath() 메서드 --%>

ContextPath

${pageContext.request.contextPath}

ContextPath

"> <%-- # contextPath : ttp://localhost:8080/12_EL request.getContextPath() : --%> pageContext.jsp

contextPath


정 보 입 력


<%-- request의 getContextPath() 메서드 --%>

ContextPath

${pageContext.request.contextPath}

ContextPath

">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%-- 
	# contextPath : ttp://localhost:8080/12_EL
	  request.getContextPath() : 
--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>pageContext.jsp</title>
</head>
<body>
	<h1>contextPath</h1>
	<br>
	<h2>
		<a href="<http://localhost:8080/12_EL/ex04_pageContext/memberForm.jsp>"> 정 보 입 력</a>
	</h2>
	<br>
	<%-- request의 getContextPath() 메서드 --%>
	<h2>
		<a href="<%=request.getContextPath()%>/ex04_pageContext/memberForm.jsp">ContextPath</a>
	</h2>
	<p>${pageContext.request.contextPath}</p>
	<h2>
		<a href="${pageContext.request.contextPath}/ex04_pageContext/memberForm.jsp">ContextPath</a>
	</h2>
</body>
</html>