Calendar is an abstract class -- try GregorianCalander instead.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Neill Laney
> Sent: Tuesday, 9 January 2001 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: <jsp:useBean id="xxx" class="java.util.Calendar" />
> ClassNotFoundException
>
>
> The above tag will not compile in the following page using JDK1.3
> and Tomcat
> 4.0-m5 on Windows 2000:
>
> <%@ page language="java" contentType="text/html" %>
> <html>
> <body>
> <jsp:useBean id="xxx" class="java.util.Calendar"/>
>
> xyz
>
> </body>
> </html>
>
> The same tag using class="java.util.Date" will compile.
>
> Both classes are in src.jar, so why can't runtime find Calendar?
>
> I'm trying to add a simple date-time stamp to a mostly static HTML and I'm
> new to Java. Any help will be greatly appreciated.
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets