Taming Tomcat
Top-level web.xml
- Syntax I'll detail tomorrow
- Defines servlets:
- default: handles cases which nothing else
is defined to handle (knows how to handle static
content)
- invoker: handles Servlets which have not
been defined in a web.xml file (never seen this done in
practice)
- jsp: handles all Java Server Pages (JSP)
files, we'll talk about these this afternoon
-
ssi: handles Server Side Includes (but
Apache HTTPD does this better)
- Not enabled by default, you need to uncomment its
mapping to enable it
-
cgi: handles requests to external CGI
programs (but, again, Apache HTTPD does this better)
- Not enabled by default, you need to uncomment its
mapping to enable it