난 내 layout.sp에서 header.jsp를을 inclduing하고 표시되지 있지만 브라우저에 반영되지 않고 모두 모질라을 시도하고 심지어 캐시를 새로 고침 후 즉, 한 -자바 헤더는
<h1>Login Application</h1>
layout.jsp content--
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
prefix="decorator"%>
<%@page contentType="text/html; charset=UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
<div>
<jsp:include page="/WEB-INF/includes/header.jsp"/>
</div>
<div ><decorator:body /></div>
</body>
</html>
왜이 태그가 달린 자바와 이클립인가요? 자바 스크립트 및 브라우저와 비슷하게 보입니다. –
@Chris 그것은 JSP 문제이므로 Java는 적어도 정확합니다. 다시 태그를 추가했습니다. – seth
브라우저에서 "/WEB-INF/includes/header.jsp"를로드하려고하면 출력은 어떻게됩니까? 내 의심은 포함 경로가 잘못되었다는 것입니다. – jsight