Laird Nelson wrote:

> 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

In the top level directory that you unpacked the JSP 0.92 reference implementation
into, you will find a README.JSP file that contains instructions on how to run the
included servlet runner so you can execute the examples that are included, and
experiment with writing your own pages.  It works pretty well.

This functionality is essentially like the servlet runner that comes with JSDK 2.0
(except for the fact that it will serve files too, not just servlets).  You will
not have any luck trying to integrate the JSP page compiler included in the
reference implementation with any existing servlet engine, because it depends on
the special set of servlet API classes that were included with JSP -- they are
about halfway between the 2.0 and 2.1 servlet APIs, and are thus compatible with
neither.  If you want to run 0.92-compatible JSP pages under a regular servlet
engine, you'll need to use one of the implementations provided by a vendor (such as
JRun) or third parties.  There aren't very many 0.92 implementations (in
particular, most of the open source JSPs are compatible with 0.91, not 0.92)
because the 1.0 spec (and corresponding reference implementation) are being
promised "real soon now", so there isn't much point in expending effort to create
0.92 compatibility.

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