You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ermanno Iannacci <er...@libero.it> on 2000/11/27 10:01:08 UTC

Hope this is useful

I couldn't get Tomcat 3.1 serve jsp pages. The problem was jsdk (Java
Servlet Development Kit). I installed jsdk jar files as extensions: one of
the jsdk jars is "servlet.jar", same name of one of those packaged with
tomcat. After removed servlet.jar (so i think is older) from jre/bin/ext,
tomcat runs OK, and also the isapi_redirect does.

(pws 4.0 - win 98 se - tomcat 3.1 - jdk 1.2.2)


Re: Is Tomcat/Apache combo necessary?

Posted by Trevor Little <tl...@hoaglandlongo.com>.
Matt Becker wrote:
> 
> I need to write an JSP web application and so far have been going the route
> of configuring Tomcat and Apache to work together. Two things come to my
> mind to ask:
> 
>     1. Is the Tomcat/Apache combination really necessary? This web site is
> going to be pretty much all JSP. I know that Tomcat can do the serving on
> it's own, but I've read stuff saying that it's not so good at serving static
> files and so forth. How would it benefit a JSP web application by me setting
> up the Tomcat/Apache combination?

No you don't have to use Apache.  Apache is faster at serving static
pages but if you don't have many then tomcat can serve them.  If you
wanted to use SSL you used to have to use Apache, but now tomcat 3.2b8
supports ssl.  We're using tomcat 3.2b8 standalone to serve our webapp
and about 5 static pages with ssl.


> 
>     2. I'm not sure if the actual files of the JSP web application would
> reside in the Tomcat directory, or would they be split in-between Tomcat and
> Apache, where JSP files would be on the Tomcat side and html files and
> content on Apache?

We keep jsps in the tomcat dir.  But you can put them anywhere, you just
need to specify where in the conf files.


> 
> I would greatly appreciate any input on this!
> 
> Thanks!
> 
> Matt

RE: Is Tomcat/Apache combo necessary?

Posted by Saurabh Shukla <sa...@cysphere.com>.
Apache tomcat combi depends on how many html files you have, the amount of
traffic you
will be getting etc..

YOu can put them in a separate directory and specify the document root.
they both(apache and tomcat) will look for files in that directory.

Shuklix

-----Original Message-----
From: Matt Becker [mailto:mbecker@mythicwave.com]
Sent: Monday, November 27, 2000 9:47 PM
To: tomcat-user@jakarta.apache.org
Subject: Is Tomcat/Apache combo necessary?


I need to write an JSP web application and so far have been going the route
of configuring Tomcat and Apache to work together. Two things come to my
mind to ask:

    1. Is the Tomcat/Apache combination really necessary? This web site is
going to be pretty much all JSP. I know that Tomcat can do the serving on
it's own, but I've read stuff saying that it's not so good at serving static
files and so forth. How would it benefit a JSP web application by me setting
up the Tomcat/Apache combination?

    2. I'm not sure if the actual files of the JSP web application would
reside in the Tomcat directory, or would they be split in-between Tomcat and
Apache, where JSP files would be on the Tomcat side and html files and
content on Apache?

I would greatly appreciate any input on this!

Thanks!



Matt


Is Tomcat/Apache combo necessary?

Posted by Matt Becker <mb...@mythicwave.com>.
I need to write an JSP web application and so far have been going the route
of configuring Tomcat and Apache to work together. Two things come to my
mind to ask:

    1. Is the Tomcat/Apache combination really necessary? This web site is
going to be pretty much all JSP. I know that Tomcat can do the serving on
it's own, but I've read stuff saying that it's not so good at serving static
files and so forth. How would it benefit a JSP web application by me setting
up the Tomcat/Apache combination?

    2. I'm not sure if the actual files of the JSP web application would
reside in the Tomcat directory, or would they be split in-between Tomcat and
Apache, where JSP files would be on the Tomcat side and html files and
content on Apache?

I would greatly appreciate any input on this!

Thanks!



Matt