https://issues.apache.org/bugzilla/show_bug.cgi?id=48566

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-02-15 23:59:09 UTC ---
Short version:
The TLD determines the JSP version to be used.
The JSP version in the tag file must agree with the one in the TLD.
The default version for implicit.tld is 2.0

Long version:
Following the quotes from the JSP 2.1 spec:

>From the end of JSP.8.3:
If a tag file in XML syntax contains a jsp:root element, the value of that
element’s version attribute must match the tag file’s JSP version. See
Section JSP.8.4.2, “Packaging in a JAR”, and Section JSP.8.4.3, “Packaging
Directly in a Web Application”, for how the JSP version of a tag file is
determined.

In this case we need to look at JSP.8.4.3:
The JSP version of an implicit tag library defaults to 2.0.
The JSP version and tlib-version of an implicit tag library may be configured
by placing a TLD with the reserved name implicit.tld in the same directory as
the implicit tag library’s constituent tag files. A JSP 2.1 container must
consider only the JSP version and tlib-version specified by an implicit.tld
file, and ignore its short-name element.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to