Project

General

Profile

Bug #2237

web.xml, tomcat and jstl

Added by Margaret O'Brien about 14 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
10/27/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2237

Description

I've been using JSP and Java Standard Tag Library functions with files in
metacat, and got tomcat5 errors because tomcat5 wants the web.xml file to be
pointing to this schema instead of the dtd used by tomcat3 and tomcat4:
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

The tomcat errors occurred when using the jstl with the earlier dtd, but I had
no problems after switching to the schema in sbc's installation. Here is a
reference:
http://www.javaworld.com/javaforums/printthread.php?Cat=&Board=Enterprisejava&main=18070&type=thread

Two additional jar files are required to run jstl (jstl.jar, standard.jar). It
would be very convenient to see these included with metacat, although they are
also easily added by a user.

History

#1 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2237

#2 Updated by ben leinfelder over 6 years ago

  • Assignee changed from Saurabh Garg to ben leinfelder
  • Status changed from New to Rejected

Now using v2.5 schema:


<web-app xmlns="http://java.sun.com/xml/ns/javaee" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
   version="2.5">

#3 Updated by ben leinfelder over 6 years ago

  • Status changed from Rejected to Resolved

Also available in: Atom PDF