"Michalek, Jim" wrote:

>
>
> I successfully created several servlets using Sun's jswdk-1.0.1.  I
> then attempted to take these identical servlets and execute them using
> Apache and JRun, without success.  Now it appears that there is a fair
> amount of configuration that is required and I probably still have
> issues, but it seems that JRun requires the use of their own version a
> servlet class.  Is this true?  If it is true, then it appears to run
> counter to the "run anywhere" spirit of Java.
>
> Jim Michalek

You don't describe in detail the particular errors you are seeing, so
it's hard to be specific.  However, one thing that will definitely
affect portability in your scenario is that JSWDK supports servlet API
version 2.1, whereas Apache JServ supports servlet API version 2.0.  If
your servlet utilizes any 2.1-only features, it will (of course) not
work under Apache JServ.

Portability only works for the same versions of the software you are
using.  A servlet that works under JSWDK should work (without
recompiling) on any servlet engine supporting the 2.1 API.  It is up to
you to ensure that you have selected a compatible platform.

Craig McClanahan

___________________________________________________________________________
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