May I ask what JSP engine are you using.
Harmeet
> -----Original Message-----
> From: John Moore [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 20, 1999 11:27 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with import in page directive
>
>
> I am in the process of converting from JSP .92 to 1.0 and
> have run into
> a problem.
>
> We have a jsp page with the following code:
>
> <html>
> <head>
> </head>
> <body>
> <%@ page import="java.util.Date" %>
> .
> .
> .
> <% Date tempDate = new Date(); %>
> .
> .
> .
> </body>
> </html>
>
> When I request the page I get a compile error saying that
> Date is not a
> valid class. At first I thought this was a classpath
> problem, but if I
> change the line to read: <% java.util.Date tempDate = new
> java.util.Date
> %>, the page compiles.
>
> Has anyone run into any problems using the import option on the page
> directive?
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff JSP-INTEREST". For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".