- This topic has 4 replies, 2 voices, and was last updated 19 years ago by Riyad Kalla.
-
AuthorPosts
-
Timothy SeibertParticipantHi:
I have a set of third party taglibs that implement taglib 1.2. The start of the tld files are:<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE taglib PUBLIC “-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN”
“http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd”>
<taglib>
<tlib-version>1.0.000</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>forms</short-name>These do not appear to be recognized by MyEclipse although the struts tld files with headers:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE taglib PUBLIC “-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN” “http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd”>
<taglib>
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>are recognized. Does this seem correct to you? If so what should I do?
Note that all these files are in jar files with paths of META-INF or META-INF/tlds.Regards,
Bob N-
Timothy SeibertParticipant@MITLincolnLabs wrote:
Hi:
I have a set of third party taglibs that implement taglib 1.2. The start of the tld files are:<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE taglib PUBLIC “-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN”
“http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd”>
<taglib>
<tlib-version>1.0.000</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>forms</short-name>These do not appear to be recognized by MyEclipse although the struts tld files with headers:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE taglib PUBLIC “-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN” “http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd”>
<taglib>
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>html</shortname>are recognized. Does this seem correct to you? If so what should I do?
Note that all these files are in jar files with paths of META-INF or META-INF/tlds.Regards,
Bob N-
OK…I have installed 4.1 M2 and as of now everything is fine. IT might be the new install and it might be M2. However, all TLD files are recognized and I’m happy.
Regards,
Bob N-
Riyad KallaMemberBob,
If you look 1 or 2 more lines down in the Struts TLDs they define a default URI, and that is what is used by default in our Templates.In the TLDs you received, do they define a default URI? (<uri></uri>) If not, you need to add mappings to your web.xml file that maps your TLD files to specific URIs that you can use in your pages.
Timothy SeibertParticipantHi rkalla:
Thanks for the note. The URI is defined in both cases. There may have been something else but as I have just replied the installation of 4.1 M2 seems to fix the problem. Whether the problem was the prior installation or the code base is now irrelevant.
Regards,
Bob N-
Riyad KallaMemberAhh very cool, thanks for following up Bob.
-
AuthorPosts