Well, I copied the datetime.jar to that directory, but I didn't do anything
else with it.
Vidar
----- Original Message -----
From: "Glenn Nielsen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 5:44 PM
Subject: Re: Datetime taglib
> Did you install the datetime.jar in your WEB-INF/lib directory?
>
> Vidar Langberget wrote:
> >
> > 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" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]]
> > > Sent: 16 May 2001 10:13
> > > To: [EMAIL PROTECTED]
> > > 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
> > >
>
> --
> ----------------------------------------------------------------------
> Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder |
> MOREnet System Programming | * if iz ina coment. |
> Missouri Research and Education Network | */ |
> ----------------------------------------------------------------------