On Wed, 5 Sep 2001, echaiguer abderrahim wrote:
> Date: Wed, 05 Sep 2001 15:32:28 +0200
> From: echaiguer abderrahim <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: newbie question
>
>
>
> Hi ,
>
> I just decided to move to the J2EE architecture. I was previously working
> with Apache / Jserv . I was wondering if there is an easy
> to migrate all my servlets to Tomcat without a lot of code manipulation.
>
The mechanics of setting up a web application as required by Tomcat (or
any other container based on servlet 2.2 or later) are important -- you
will need to organize your servlets in the directory structure of a "web
application" as described in the Servlet spec, available at:
http://java.sun.com/products/servlet/download.html
You should also take a look at the "Application Developer's Guide" shipped
with Tomcat for more information.
However, this is not necessarily going to be your biggest problem. Apache
JServ was based on Servlet 2.0, and included several calls (such as
ServletContext.getServlet()) that have been deprecated in Servlet 2.2 and
later. If your application relied on this call to acquire a reference to
a different servlet, you're going to have some re-architecting to do for
it to run on any Servlet 2.2 or later container.
> Thanks,
> Abde
>
>
Craig McClanahan