I'm using a stable release: - Apache Tomcat/4.1.12 - jakarta-taglibs-string-1-0
> > The simple question first. Are you using the stable release or a nightly > build? > > Hen > > On Tue, 12 Nov 2002 [EMAIL PROTECTED] wrote: > > > Hi > > I have installed STRING TAG LIBRAY. But it doesn't work. > > I copy the tag library descriptor (string.tld) into my /WEB-INF/ application directory > > I copy teh JAR library into the /WEB-INF/lib subdirectory of my application. > > I add a <taglib> element to my /WEB-INF/web.xml: > > > > <taglib> > > <taglib-uri>http://jakarta.apache.org/taglibs/string-1.0</taglib-uri> > > <taglib-location>/WEB-INF/string.tld</taglib-location> > > </taglib> > > > > I'm using: Apache Tomcat/4.1.12 > > > > > > I have created a test JSP page: > > > > <%@page language="java" contentType="text/html; charset=ISO-8859-1"%> > > <%@page import="org.apache.taglibs.string.CapitalizeTag"%> > > <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> > > > > <html> > > <head> > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> > > </head> > > > > <body> > > <%@taglib uri="/WEB-INF/string.tld" prefix="str"%> > > </body> > > </html> > > > > But it doesn't work > > > > I recive the error: > > > > java.lang.IllegalArgumentException: Error parsing tag-library /WEB-INF/string.tld: Content > > is not allowed in prolog. > > at javax.servlet.jsp.tagext.TagLibraryInfo.(TagLibraryInfo.java:48) > > at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:145) > > at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354) > > at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381) > > at org.apache.jasper.compiler.Parser.parseElements(Parser.java:799) > > at org.apache.jasper.compiler.Parser.parse(Parser.java:122) > > ............. > > ............. > > > > > > > > What is happening??????? > > > > Thanks very much > > > > (sorry for my english, i'm from > > spain). > > > > ------------------ > > Idecnet Correo-Web > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> > > For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org> > > > > > > > -- > To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org> > ------------------ Idecnet Correo-Web -- To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
