"[Jwas J]" wrote:
>
> Hi,
>      Iam new to this field. My doubt is that with Tomcat alone i can
> run my
> jsp applications. So why are we  Configuring Apache with Tomcat.
> Apache will not support Jsp , am i right ?? So inorder to use Jsp we
> use
> tomcat as a plug in right ??.
>
>      But then why cant we use Tomcat alone ?? Instead of using Apache
> with tomcat.
> Also what is Apache's Jserver . Is that a counterpart for Tomcat ??
>
> Someone please clear my doubt.

For JSP and servlet development, I definitely recommend using Tomcat
standalone. Adding Apache to the mix in this scenario doesn't buy
you anything, except for configuration problems ;-)

Reasons for using Apache as a front-end on a production site may
be that you use Apache modules, such as mod_rewrite, or have a
site that also relies on old CGI scripts, or anything else that
Apache supports and Tomcat doesn't. For a site with a lot of
requests for static content (i.e. regular HTML, images, etc.)
you probably get better performance if you let Apache deal with
the static content and Tomcat only with the dynamic stuff.

Hans
PS.This does not only apply to Apache/Tomcat. The same thing can
be said for any container that can run either standalone or behind
other "traditional" web servers such as IIS and iPlanet.
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to