Chapter 7

Before You Begin

7.1  Reloading the Cache

For efficiency, servlets are cached on their initial invocation. When editing a servlet, before changes can be observed, it is neccessary to clear the cache by loading the URL http://my-host/conf/refresh-servlets

7.2  Directories

Within the Web server's root directory, two important directories exist. Note that these names may change. Administators should see the section titled ``Directory Structure'' and the section titled ``Paths''.

htdocs/
Under this directory exists static files which are just presented to the Web browser with an appropriate MIME type. See the section titled ``Static Content'' for the details.
sevlets/
Under this directory exists dynamic files which are processed by the Web server as servlets. See the section titled ``Writing Servlets'' for the details.