Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 29th, 2008, 08:25 AM
Registered User
 
Join Date: Oct 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why can't TOMCAT see WROX directory?

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.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat - Restrict Directory access pradheepayyanar BOOK: Professional Apache Tomcat 0 October 27th, 2006 06:03 AM
use tomcat outside of webapps directory ritzcoder Apache Tomcat 1 December 10th, 2005 10:22 PM
apache tomcat dev directory conf schradermj11 Apache Tomcat 0 November 21st, 2005 10:54 PM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
Wrox and Wrox.com FAQs (updated March 2, 2004) jminatel General Announcements 0 June 6th, 2003 09:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.