The fc.web.servlet package contains various web application and servlet related utilities.

The diagram below shows how to use the molly framework in a web app.

view full size (new window)

Note: To make runtime initialization in option 2 (shown above, molly.jar in system classpath) more manageable, you should specifiy a arbitrary/unique name for a instance of WebApp that is created just for that domain. For example:

This solves any issues with jar placement and system classpaths.

Some interesting classes in this package are: Reading the javadocs is the best way to get familiar with these and other classes in this package.