"Chulet, Mahesh" wrote:

> Hi!
>      Can anyone tell me how do I use the JDK classes in JSP. I tried the
> import syntax given in JSP1.0 specifications but JRun gives error
> for that.
>
> OR
>   What is wrong with the following and how do I do the following properly ?
>         <% page language="java"  import="java.net.*" %>
> ?
>

There is a bug in the current JSWDK 1.0 EA implementation.  Use the following
for now:

    <% page language="ajva" imports="java.net.*" %>

and be prepared to switch back when this bug is fixed.  By the way, this works
for your own classes as well, not just those provided in the JDK.

Craig McClanahan

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