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

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to