Jsp Eclipse:找不到标记目录
嗨 我收到错误“找不到标记目录“/WEB-INF/tags”,但我确定根项目下存在目录(/WEB-INF/tag)Jsp Eclipse:找不到标记目录,jsp,jsp-tags,eclipse-juno,Jsp,Jsp Tags,Eclipse Juno,嗨 我收到错误“找不到标记目录“/WEB-INF/tags”,但我确定根项目下存在目录(/WEB-INF/tag) <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="squa
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="squash" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org
/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<div id="content">
<h1><fmt:message key="welcome"/></h1>
</div>
</body>
</html>
您必须通过以下方式将standard.jar和jstl.jar包括/添加到web项目中(或者只需添加-无需包括standard.jar):
tomcat
,那么您将在X:\Program Files\Apache Software Foundation\Apache tomcat 7.0.22\webapps\examples\WEB-INF\lib)文件夹中找到这些.jarPS:更多信息请阅读-eclipse的哪个版本?您是否在构建路径中包含了standard.jar和jstl.jar?EclipseJuno,但我没有添加jstl.jar和standard.jar