tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Dempsey" <Bruce_Demp...@hc-sc.gc.ca>
Subject RE: Jsp 2.0 taglib conversion problem
Date Mon, 05 Jul 2004 15:56:15 GMT
I replied to this several hours ago but it doesn't seem like it was 
submitted. My apologies if you all receive this twice :)

Hi,

Thank you for your response. 

Using my original code which was working before the upgraded, we now get 
the following error:

[7/5/04 9:42:01:318 EDT] 68e72fa4 WebGroup      E SRVE0026E: [Servlet 
Error]-[javax/servlet/jsp/JspContext]: java.lang.NoClassDefFoundError: 
javax/servlet/jsp/JspContext

Any ideas as to what caused this or where to look?




"Martin van Dijken" <sunspam@windgazer.nl>
07/05/2004 08:46 AM
Please respond to "Tag Libraries Users List"

 
        To:     "'Tag Libraries Users List'" <taglibs-user@jakarta.apache.org>
        cc: 
        Subject:        RE: Jsp 2.0 taglib conversion problem


Hey Bruce,

Not entirely certain, but isn't it WS 6.0 that supports JSP 2.0? I was 
under
the impression that WS 5.x only supports version 1.2 of JSP, which still
works with a doctype and a dtd.

Grtz,

Martin

-----Original Message-----
From: Bruce Dempsey [mailto:Bruce_Dempsey@hc-sc.gc.ca]
Sent: maandag 5 juli 2004 13:58
To: taglibs-user@jakarta.apache.org
Subject: Jsp 2.0 taglib conversion problem

Our Websphere server was upgraded to 5.1.3 and we are now using JDK
1.4 and JSP 2. Our taglibraries have stopped working.

I am tryin to upgrade the libraries to use the SimpleTagSupport classes, 
etc
but am having a problem with our tld descriptor

Is this the proper way to declare the V2.0 of the taglibrary?

The error I am getting is:
Error JspTranslate: : XML parsing error on file /WEB-INF/tagLib.tld:
(line 3, col 117): Document root element "taglib", must match DOCTYPE root
"null".. e_accountSignup.jsp ZSERIES_HCCFIA/WebContent line 8

Any ideas are greatly appreciated??


<?xml version="1.0" encoding="UTF-8"?>

<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.xs
d"
version="2.0">


<tlib-version>1.0</tlib-version>

<short-name>HCCFIA Tag Library</short-name>

<tag>
<name>isElements</name>
<tag-class>taglib.IsElementsHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
</tag>


<tag>
<name>getMessage</name>
<tag-class>taglib.getMessageHandler</tag-class>
<body-content>empty</body-content>
</tag>

<tag>
<name>getReqParam</name>
<tag-class>taglib.getReqParamHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>name</name>
<required>true</required>
</attribute>
</tag>

<tag>
<name>getParam</name>
<tag-class>taglib.getParamHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>field</name>
<required>true</required>
</attribute>
<attribute>
<name>object</name>
<required>true</required>
</attribute>
</tag>

<tag>
<name>initializeList</name>
<tag-class>taglib.InitializeListHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
</attribute>
</tag>

<tag>
<name>isChecked</name>
<tag-class>taglib.IsCheckedHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
</attribute>
</tag>

<tag>
<name>isSelected</name>
<tag-class>taglib.IsSelectedHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
</attribute>
</tag>

<tag>
<name>iterateOverObjects</name>
<tag-class>taglib.IterateOverObjectsHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>splitList</name>
<required>false</required>
</attribute>
</tag>

<tag>
<name>getObjectMessage</name>
<tag-class>taglib.getObjectMessageHandler</tag-class>
<body-content>empty</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>fieldName</name>
<required>true</required>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
</attribute>
</tag>
<tag>
<name>isNew</name>
<tag-class>taglib.IsNewHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>doctype</name>
<required>true</required>
</attribute>
</tag>
<tag>
<name>alternateColors</name>
<tag-class>taglib.alternateColorsHandler</tag-class>
<body-content>empty</body-content>
</tag>
<tag>
<name>isLoggedIn</name>
<tag-class>taglib.IsLoggedInHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>currentPage</name>
<required>true</required>
</attribute>
<attribute>
<name>checkStatus</name>
<required>false</required>
</attribute>
</tag>
<tag>
<name>isRoleEnabled</name>
<tag-class>taglib.IsRoleEnabledHandler</tag-class>
<body-content>JSP</body-content>

<attribute>
<name>roleName</name>
<required>true</required>
</attribute></tag>
<tag>
<name>HideSearchArrow</name>
<tag-class>taglib.HideSearchArrowHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>arrowType</name>
<required>true</required>
</attribute>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
</tag>
<tag>
<name>getSpecial</name>
<tag-class>taglib.getSpecialHandler</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>listName</name>
<required>true</required>
</attribute>
<attribute>
<name>fieldName</name>
<required>true</required>
</attribute>
</tag>

</taglib>Fax (613) 957-1574


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message