tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vidar Langberget" <vlang...@grm.hia.no>
Subject Re: Datetime taglib
Date Sat, 19 May 2001 08:48:13 GMT
Yes.
----- Original Message -----
From: "Lee Ball" <lee.ball@rubus.com>
To: <taglibs-user@jakarta.apache.org>
Sent: Friday, May 18, 2001 4:52 PM
Subject: RE: Datetime taglib


> Is the jar file in the WEB-INF/lib directory?
>
> -----Original Message-----
> From: Vidar Langberget [mailto:vlangber@grm.hia.no]
> Sent: 18 May 2001 10:34
> To: taglibs-user@jakarta.apache.org
> Subject: Re: Datetime taglib
>
>
> Hi!
>
> Now I get another error message:
>
> org.apache.jasper.compiler.CompileException:
> /var/www/lillesand/date_test1.jsp(13,0) Unable to load class
> org.apache.taglibs.datetime.FormatTag
>
> regards,
>
> Vidar
>
> ----- Original Message -----
> From: "Lee Ball" <lee.ball@rubus.com>
> To: <taglibs-user@jakarta.apache.org>
> Sent: Thursday, May 17, 2001 10:37 AM
> Subject: RE: Datetime taglib
>
>
> > Hi Vidar
> >
> > As you are using the jar locally, try this
> >
> > in web.xml:
> > <taglib>
> >   <taglib-uri>datetime</taglib-uri>
> >   <taglib-location>/WEB-INF/datetime.tld</taglib-location>
> > </taglib>
> >
> > in WEB-INF/datetime.tld:
> > <uri>datetime</uri>
> >
> > in your jsp:
> > <%@ taglib uri="datetime" prefix="dt" %>
> >
> > Cheers
> > Lee
> >
> > -----Original Message-----
> > From: Vidar Langberget [mailto:vlangber@grm.hia.no]
> > Sent: 16 May 2001 10:13
> > To: taglibs-user@jakarta.apache.org
> > Subject: Datetime taglib
> >
> >
> > Hi
> >
> > I'm having problems with the Datetime taglib. I have put the
datetime.jar
> > file in the WEB-INF/lib/ directory, and the datetime.tld file in the
> WEB-INF
> > directory. I have created a Web.xml file containing:
> >
> > <taglib>
> >   <taglib-uri>http://jakarta.apache.org/taglibs/datetime</taglib-uri>
> >   <taglib-location>/WEB-INF/datetime.tld</taglib-location>
> > </taglib>
> >
> >
> > I've tried altering the uri to other things, and the line below that I
put
> > in the actual jsp file:
> >
> > <%@ taglib uri="http://jakarta.apache.org/taglibs/datetime" prefix="dt"
%>
> >
> > but nothing works. This is the error message I get:
> > org.apache.jasper.compiler.CompileException:
> > /var/www/lillesand/date_test.jsp(0,0) Unable to open taglibrary
> > http://jakarta.apache.org/taglibs/datetime : Parse Error in the tag
> library
> > descriptor: Illegal character at end of document, <.
> > at
> >
>
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
> > ntListener.java:713)
> > at
> >
>
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
> > ener.java:116)
> > at
> > org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:1070)
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:1035)
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:1031)
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
> > at
> > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:453)
> > at
> >
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:424)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> > rvlet.java:152)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> > va:164)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
> > at org.apache.tomcat.core.Handler.service(Handler.java:263)
> > at
> > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
> > at
> >
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:78
> > 6)
> > at
> > org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
> > at
> >
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> > (Ajp12ConnectionHandler.java:166)
> > at
> >
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
> > at
> >
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > at java.lang.Thread.run(Thread.java:484)
> >
> >
> > regards,
> >
> > Vidar
> >


Mime
View raw message