I'm using Apache and Tomcat 3.2 and I'm trying to understand the mod-jk
configuration file.
Suppose, that I want to access servlets through URL's of the form:
http://host/webappName/servletName
It seems that I can do this one of two ways:
1. Have all requests of the form http://host/webappName/* go to Tomcat.
The problem with this, is that I want Apache to serve my html pages
2. For every servlet, put in a line in the mod-jk configuration file to pass
the request to Tomcat.
It would seem with this, I would not only have to specify it in the mod-jk
configuration file, but also in the web.xml file. It seems like there should
be an easier way.
Am I stuck with putting all of my servlets in a "webAppName/servlets"
directory if I want to avoid this problem? Is this compatible with the spec
for WAR files?
On that note, where can I even find the spec for WAR files?
Thank you very much for the help.
Scott Goldstein
------------------------------------------------------------
"Just a mirror for the sun...
My smiling eyes are just a mirror for the sun."
------------------------------------------------------------