Actually, the Servlet API is not included in the 1.2.x JDK, it's an
extension.  To use the JSDK properly in Java2 all that is required is to
copy the jar file (either jsdk.jar or servlet.jar) to the
jdk1.2.x\jre\lib\ext directory.
    (*Chris*)

----- Original Message -----
From: Andy Bailey <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 1999 9:28 AM
Subject: Re: JRun compiler?


> ----- Original Message -----
> From: Chris Mcgarel <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 25, 1999 5:07 PM
> Subject: JRun compiler?
>
>
> > A real newbie question:
> > Using JRun under IIS.
> >
> > I've got a simple 'Hello World' type servlet which I want to compile.
Both
> > JDK and J++ throw errors at the lines:
> > import javax.servlet.*;
> > import javax.servlet.http.*;
> >
> > Does JRun have its own compiler? The JRun doc mentions in-process
> > compilation. What does this mean? Surely you need to precompile your
> servlet
> > before you can move it to your servlets directory, or can you just put
> your
> > .java file in and JRun will compile it for you?
> >
> > Is anyone else struggling with this technology as much as me? I can
write
> > advanced ASP e-commerce applications till the cows come home but JSP and
> > servlets seems impenetrable, not helped by poor JRun documentation.
> >
> > Phew! Glad to get that off my chest.
> >
> This is a classpath problem when compiling the servlets.
> AFAIK there won't be this problem should you install at least jdk1.2.1 as
> the servlets come with
> it. If not then you will need to add the jsdk.jar to your classpath and
then
> try compiling it.
>
> JRun comes with its a packaged JRE which I don't recommend using. I always
> install JDK1.2.1 and tell
> the JRun installer to use that instead. JRun only compiles jsp files into
> servlets, you need to compile your own
> servlet java files and deploy them on JRun as per the docs (which are not
> the best, you are quite right).
>
> Andy Bailey
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to