You correct. JSP 2.0 is only supported on Websphere 6.0 . We are using 
Sun's JDK and I downloaded JDK1.4 in error which uses JSP2.0. I download 
JDK1.3. Our original code is not working again.

Thank you all for your help.






Martin Cooper <[EMAIL PROTECTED]>
07/06/2004 04:49 PM
Please respond to "Tag Libraries Users List"

 
        To:     Tag Libraries Users List <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: Jsp 2.0 taglib conversion problem




On Mon, 5 Jul 2004, Bruce Dempsey wrote:

> Hi,
>
> Thank you for your response.
>
> Using my original code which was working before the upgade, 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?

You must not be using your original code. The JspContext class was
introduced with JSP 2.0, and so does not exist in JSP 1.2. As someone else
mentioned, WebSphere 5.1 supports only JSP 1.2, and not JSP 2.0.

--
Martin Cooper


>
> Thank you,
> Bruce Dempsey
> Systems Analyst
> Food Directorate / Direction des aliments
> Health Canada / Santé Canada
> Tel. (613) 954-9430
> Fax (613) 957-1574
>
>
>
>
> "Martin van Dijken" <[EMAIL PROTECTED]>
> 07/05/2004 08:46 AM
> Please respond to "Tag Libraries Users List"
>
>
>        To:     "'Tag Libraries Users List'" 
<[EMAIL PROTECTED]>
>        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:[EMAIL PROTECTED]
> Sent: maandag 5 juli 2004 13:58
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to