You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brad K <ko...@aa.net> on 2000/03/20 05:44:00 UTC

tomcat & JServ config

I am trying to setup tomcat under Apache 1.3 and am getting a little lost on
the configuration. I have JServ running currently. Does this replace JServ?
Can someone orient me on this.

thanks

Brad Koehler

-----Original Message-----
From: cmcclanahan@easystreet.com [mailto:cmcclanahan@easystreet.com]On
Behalf Of Craig R. McClanahan
Sent: Sunday, March 19, 2000 6:29 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: servlet confusion...


Ron Forrester wrote:

> I have from from JServ over to tomcat this afternoon.
>
> First, I really enjoyed the installation process, having suffered
> through JServ+gnujsp installations.
>
> One thing has me quite confused however -- all of the example servlets
> with tomcat are embedded in HTML files.

This was done only to let you look at the source code -- servlets must be
Java class files, or packaged in a JAR file, to be executed.

> I am used to seeing servlets
> in .class files. Is this no longer supported? I copied a
> blah.{java,class} file into the example servlets dir and it just
> treats it like a generic file.
>
> Do I need to wrap all my servlets in container/launcher HTML files
> like the examples are?
>

No.

Put your servlet classes in the WEB-INF/classes directory (or in a JAR file
in the WEB-INF/lib directory) of your web application.  These places are
automatically added to the class path for your app -- no additional
manipulation of the class path is required.  Set up the web application
deployment descriptor (WEB-INF/web.xml) as described in the Servlet 2.2
specification.


>
> Thanks.
> rjf&
>

Craig McClanahan



--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: tomcat & JServ config

Posted by Hans Bergsten <ha...@gefionsoftware.com>.
Brad K wrote:
> 
> I am trying to setup tomcat under Apache 1.3 and am getting a little lost on
> the configuration. I have JServ running currently. Does this replace JServ?
> Can someone orient me on this.

Try the draft user's guide,

<http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/uguide/>

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com