tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C.Aussems" <c.auss...@xs4all.nl>
Subject JSTL on IBM Iseries Apache Tomcat V4R5
Date Tue, 05 Nov 2002 17:25:10 GMT
Hi,
I'm trying to port an existing webapp to the IBM Iseries Apache Tomcat V4R5.
This run's on an intranet so it does not have connection to external dtd on
the internet.
Even with a simple test like this,

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
 <body>
 <c:out value="hallo" />
 </body>
</html>

First I got this error:

    Error: 500
    Location: /veto/jstl.jsp
    Internal Servlet Error:
org.apache.jasper.compiler.CompileException:
/www/default/webapps/veto/jstl.jsp(0,0) Unable to open taglibrary
http://java.sun.com/jstl/core : Parse Error in the tag library descriptor:
External entity not found:
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd.

Trying to solve this I put the DTD contents found at
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd. in the <!doctype>

<!DOCTYPE taglib [
<!ELEMENT taglib (tlib-version, jsp-version, short-name, uri?,
display-name?, small-icon?, large-icon?, description?, validator?,
listener*, tag+) >
<!ATTLIST taglib id ID #IMPLIED   xmlns CDATA #FIXED
"http://java.sun.com/JSP/TagLibraryDescriptor" >
<!ELEMENT tlib-version (#PCDATA) >
<!ELEMENT jsp-version  (#PCDATA) >
<!ELEMENT short-name      (#PCDATA) >
<!ELEMENT uri  (#PCDATA) >
<!ELEMENT description (#PCDATA) >
<!ELEMENT validator (validator-class, init-param*, description?) >
<!ELEMENT validator-class (#PCDATA) >
<!ELEMENT init-param (param-name, param-value, description?)>
<!ELEMENT param-name (#PCDATA)>
<!ELEMENT param-value (#PCDATA)>
<!ELEMENT listener (listener-class) >
<!ELEMENT listener-class (#PCDATA) >
<!ELEMENT tag (name, tag-class, tei-class?, body-content?, display-name?,
small-icon?, large-icon?, description?, variable*, attribute*, example?) >
<!ELEMENT tag-class (#PCDATA) >
<!ELEMENT tei-class (#PCDATA) >
<!ELEMENT body-content (#PCDATA) >
<!ELEMENT display-name (#PCDATA) >
<!ELEMENT large-icon (#PCDATA) >
<!ELEMENT small-icon (#PCDATA) >
<!ELEMENT example (#PCDATA) >
<!ELEMENT variable ( (name-given | name-from-attribute), variable-class?,
declare?, scope?, description?) >
<!ELEMENT name-given (#PCDATA) >
<!ELEMENT name-from-attribute (#PCDATA) >
<!ELEMENT variable-class (#PCDATA) >
<!ELEMENT declare (#PCDATA) >
<!ELEMENT scope (#PCDATA) >
<!ELEMENT attribute (name, required? , rtexprvalue?, type?, description?) >
<!ELEMENT name (#PCDATA) >
<!ELEMENT required    (#PCDATA) >
<!ELEMENT rtexprvalue (#PCDATA) >
<!ELEMENT type (#PCDATA) >
<!ATTLIST tlib-version id ID #IMPLIED>
<!ATTLIST jsp-version id ID #IMPLIED>
<!ATTLIST short-name id ID #IMPLIED>
<!ATTLIST uri id ID #IMPLIED>
<!ATTLIST description id ID #IMPLIED>
<!ATTLIST example id ID #IMPLIED>
<!ATTLIST tag id ID #IMPLIED>
<!ATTLIST tag-class id ID #IMPLIED>
<!ATTLIST tei-class id ID #IMPLIED>
<!ATTLIST body-content id ID #IMPLIED>
<!ATTLIST attribute id ID #IMPLIED>
<!ATTLIST name id ID #IMPLIED>
<!ATTLIST required id ID #IMPLIED>
<!ATTLIST rtexprvalue id ID #IMPLIED>
<!ATTLIST param-name id ID #IMPLIED>
<!ATTLIST param-value id ID #IMPLIED>
<!ATTLIST listener id ID #IMPLIED>
<!ATTLIST listener-class id ID #IMPLIED>
]>

This resulted in the folowing error:

Location: /veto/jstl.jsp
Internal Servlet Error:
org.apache.jasper.compiler.CompileException:
/www/default/webapps/veto/jstl.jsp(11,0) Unable to load class null


Anyone knows how to do this on a machine not connected to the internet?
Or maybe someone who used jstl on a I-Series Apache Tomcat succesfully
before?

Thanks,

Corné



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


Mime
View raw message