Apache for HTML and Tomacat for JSP
I have a linux system. I would want to use Apache as web server ( for HTML file ) and Tomcat as application server ( for JSP file ). I have my sites in dir /var/www/... and I have configurated Apache to "read" these sites... but when I insert a JSP file in these directories Tomcat doesn't work that file.
How I have to do that?
[349 byte] By [
BRoberto] at [2007-9-26 4:09:05]

There is a file in $TOMCAT_HOME/conf directory named "server.xml". In this file you should put the following line codes:
<Context path="$APPLICATION_DIRECTORY"
docBase="webapps/$APPLICATION_DIRECTORY"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
The APPLICATION_DIRECTORY is the same that you using in apache config file "httpd.conf".