Bug report #651 has just been filed. You can view the report at the following URL: <http://znutar.cortexity.com/BugRatViewer/ShowReport/651> REPORT #651 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: medium Severity: serious Confidence: public Environment: Release: 3.2 JVM Release: JDK1.3 Operating System: NT OS Release: 4 Platform: x86 Synopsis: "taglib-location" in web.xml interpreted incorrectly Description: The "taglib-location" element in web.xml is interpreted incorrectly if it is a relative location. Example: WEB-INF/lib/foo.jar is interpreted as /WEB-INF/WEB-INF/lib/foo.jar, i.e. WEB-INF is incorrectly appended. According to the servlet 2.2 specification the DTD says: "<!-- the taglib-location element contains the location (as a resource relative to the root of the web application) where to find the Tag Libary Description file for the tag library. -->" The root of the application is / and not /WEB-INF. If you think that your interpretation *is* correct, then please submit a clarification of this for inclusion in the next revision of the specification/DTD. Currently web applications developed with relative tablib locations are not portable, since Resin adds the prefix "/" and not "/WEB-INF", and Resin does not understand absolute locations as Tomcat does. /Rickard ([EMAIL PROTECTED])Title: BugRat Report # 651
BugRat Report # 651
Project: Tomcat | Release: 3.2 |
Category: Bug Report | SubCategory: New Bug Report |
Class: swbug | State: received |
Priority: medium | Severity: serious |
Confidence:
public
|
Submitter:
_Anonymous ( [EMAIL PROTECTED] )
Date Submitted:
Dec 22 2000, 04:31:26 CST
Responsible:
Z_Tomcat Alias ( [EMAIL PROTECTED] )
- Synopsis:
- "taglib-location" in web.xml interpreted incorrectly
- Environment: (jvm, os, osrel, platform)
- JDK1.3, NT, 4, x86
- Additional Environment Description:
- Report Description:
- The "taglib-location" element in web.xml is interpreted incorrectly if it is a relative location. Example: WEB-INF/lib/foo.jar is interpreted as /WEB-INF/WEB-INF/lib/foo.jar, i.e. WEB-INF is incorrectly appended. According to the servlet 2.2 specification the DTD says: "" The root of the application is / and not /WEB-INF. If you think that your interpretation *is* correct, then please submit a clarification of this for inclusion in the next revision of the specification/DTD. Currently web applications developed with relative tablib locations are not portable, since Resin adds the prefix "/" and not "/WEB-INF", and Resin does not understand absolute locations as Tomcat does. /Rickard ([EMAIL PROTECTED])