Wasn't sure if I missed a reply by anyone today on the secondary
question (seems my mailing list eMail address got out, so now I'm
inundated with spam... gotta set up some filters tonight!)...
As near as I can tell, starting with 1.2.3, each of the TLDs appears
twice in the Struts JAR, one with a -1.1 in the name and one without.
If they are just part of a Maven repository, it sounds like they really
should not be present in the released JARs. Does anyone have any
thoughts on this?
Frank
Joe Germuska wrote:
At 10:39 PM -0400 5/23/05, Frank W. Zammetti wrote:
Hey all... I was working with a user who is using AjaxTags, and he
raised something that I wanted to check with you guys on...
What is the difference between struts-html.tld and
struts-html-1.1.tld? The user indicated that the 1.1 version
provides servlet 2.4 compatibility. Is this accurate?
No. If you're talking about the files such as can be retrieved from
http://www.ibiblio.org/maven/struts/tlds/struts-html-1.1.tld , the only
reason those have version numbers is because they are part of a maven
repository. If you look inside the file, you'll see that it has a DTD
declaration that looks like this:
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
, while Servlet 2.4 (or rather JSP 2.0) TLD files use XML Schema and
have an opening element that looks like this:
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
To be honest, I'm not sure what part of Maven retrieves TLD files from
the repository, but the surest way to know is to look inside the file.
However, you can use JSP 2.0 with the non-EL tags with no problem. (At
least, I haven't had any yet.)
Joe
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]