I am executing the 2nd phase of a web app from Chapter 16 of Wrox 'Beginning Javaserver pages'.
The logs are showing this error :
'The absolute uri:
http://java.sun.com/jsp/jstl/fmt cannot be resolved in either web.xml or the jar files deployed with this application'
The following is the directory structure of my development environment:
C:\Data\WebPages\chapter16\ (root)
Structure under root directory:
+---web
| | index.html
| | showDate.jsp
| |
| +---lib
| | jstl.jar
| | standard.jar
| |
| \---WEB-INF
| web.xml
|
\---work
| tldCache.ser
|
\---org
\---apache
\---jsp
This is the content of the showDate.jsp as documented in the book on pages 526-527
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:useBean id="now" class="java.util.Date" />
<html>
<head>
<title>
Current Date and Time
</title>
</head>
<body>
<h1>
Date and Time
</h1>
The date and time is :
<fmt:formatDate value="${now}" type="both" />
</body>
</html>
Can anyone see why TOMCAT can't 'see' the showDate.jsp file?
Thank YOU.