Summary

With this chapter, we've covered the key request processing containers within Tomcat. The wrapper is at the final end of this processing chain, and as we have seen represents an actual servlet.

We also looked at how filters can be used to modify request processing. The connector's mapper was reviewed in greater detail, and we looked at an alternative mapper used by the request dispatcher.

The request dispatcher mechanism was also discussed, and we considered the process of forwarding and including requests.

We ended the chapter by considering a real world example of servlet and filter usage, combined with the request dispatcher mechanism.

Get Tomcat 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.