>  > Hi, I installed tomcat, and it's working fine, but I am confusing, why we
>  > need apache for tomcat ?


Tomcat can serve pages, so you can use it standalone, but Apache does it
better and faster ( I'm talking about static pages, images and other files
too). But Tomcat offers other types of authentication and control over
pages, so you may want Apache serve common, static pages, and Tomcat take
care of your JSP and other special pages or content.


>  > Another question, if in tomcat I have an application called myApp in
>  > tomcat\webapps\myApp
>  > tomcat\webapps\myApp\index.jsp
>  > How can I invoque index.jsp from apache.


You can:

1) Set your DocumentRoot to ...\tomcat\webapps\myApp, so when you invoque
http://<your host>/, tomcat\webapps\myApp\index.jsp will be called

or

2) Just invoke http://<your host>/myApp/, but you have to register your
application first


Luis Javier

===========================================================================
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