1. What is the 'default' servlet?  Is the servlet
defined in a web.xml file to have the 'servlet-name'
"default"?  Couldn't find definition in servlet spec.


2. How does Tomcat map a request to a specific
application?  For instance, if my tomcat-apache.conf
file, which is #included in my httpd.conf, says:

JkMount /MyApp/servlet/* ajp12
JkMount /MyApp/*.jsp ajp12

I'm taking this to mean that any URLs that pattern
match the above will be handled by Tomcat.  There are
other entries 
Alias /MyApp "~webapps/MyApp"
<Directory "~webapps/MyApp">
    Options Indexes FollowSymLinks
</Directory>

Is it one of these entries (Alias/Directory) that tell
Tomcat which app to run?  If so, does Tomcat just
looking in ~WEB-INF/ for a 'web.xml' file - hopefully
containing more info on which servlet to run (may
depend on question #1)?


3. Where can I read more on how to configure Tomcat
such that my source files are not in the traditional
.war file layout (if possible?)?

4. Several of my applications will share a common
codebase concerning security, logging, etc.  Can I put
these classes in a common place for all webapps? 
(Relates to question #3).

Thanks.

--Peter--







__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to