Look at question 45 of the FAQ.

Lumby Paula wrote:

> After much trial and error, I have isolated a couple of lines in JSP that worked
> with the JSP 1.0 reference implementation, but no not work with the
> jswdk-1.0-ea. Can anyone tell me what the new rules are to explain why the
> following no longer work.
>
> Here is a simple TODAY servlet, in which the import attribute of the page
> directive does not seem to work:
>    <html>
>    <head>
>    <META NAME="Pragma" CONTENT="no-cache">
>    <META NAME="Cache-Control" CONTENT="no-cache">
>    <META NAME="Expires" CONTENT="0">
>    <title>Today</title>
>    </head>
>    <%@ page import="java.util.*" %>
>    <body >
>    <H1> The current date and time is:</h1>
>    <p> <%= new Date( ) %> </p>
>    </body>
>    </html>

===========================================================================
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".

Reply via email to