The reference implementation you find at
http://java.sun.com/products/jsp/index.html
contains a miniature webserver that's able to run servlets and that can
compile jsp pages into the corresponding servlet (provided you set
everything up correctly so it can find the compiler in your jdk. It should
be able to start the sun.tool.javac.Main class)

If you follow the steps in the readme.jsp file, it is started and listening
on port 8080 for incoming http requests.

In fact, the 100k jsdk.jar file contains the web server capable of serving
files and running servlets, and the 92k jsp.jar file contains the reference
implementation.  It's probably difficult to imagine a webserver being this
small, but it is and it works...

You can see this if you erase the *.java and *.class files in the
servlets/jsp directory or if you change the .jsp files themselves a bit.
The server will regenerate the .java code, compile it and run it to generate
the corresponding html output.

If you want your own webserver to recognize jsp files, then you'll need a
specific extension for that server.

Luc

> -----Original Message-----
> From: Laird Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 09, 1999 2:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JSP 1.0
>
>
> Abhishek Chauhan wrote:
>
> > There will be a reference implementation for the JSP 1.0 spec.  I
> > cannot say if the release of the spec and the implementation will
> > coincide.
>
> Forgive me if this is so basic as to be stupid, but what reference
> implementation came with the 0.92 spec apart from a few JSP
> pages?  I'm looking
> at the JSP package that I just downloaded from Sun, and all I
> see are some JSP
> pages and a few bean files--but nothing that will make my
> webserver recognize
> them as anything special.  For that I need JRun or something
> similar.  I had
> been under the impression that what JRun provides is the "reference
> implementation" of the specification.  Does Sun provide its
> own webserver
> plugin of some kind--is that what you mean by "reference
> implementation"?  If
> so, where can I find it since it is not part of the JSP distribution?
>
> Thanks for your time.
>
> Cheers,
> Laird
>

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