Java Reference
In-Depth Information
1
<!-- The contents of this file will be loaded for each web application -->
2 <Context reloadable=
"true"
>
<!-- Enabled Tomcat Servlet reloading -->
3
4
<!-- Default set of monitored resources -->
5
<WatchedResource>WEB-INF/web.xml</WatchedResource>
6
<WatchedResource>META-INF/context.xml</WatchedResource>
7
8
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
9
<!--
10
<Manager pathname="" />
11
-->
12
13 </Context>
FIGURE 12-80
The following steps enable servlet reloading for Tomcat.
To Enable Servlet Reloading
1.
Use TextPad to open the file, context.xml, in the C:\Program
Files\Apache Software Foundation\Tomcat 5.5\conf folder.
TextPad displays the file, context.xml, in the coding window (Figure 12-81).
Your context.xml file content may be somewhat different, depending on
the default options set.
path to conf folder
displays on title bar
context.xml
file opened
insertion point
FIGURE 12-81
(continued)
Search WWH ::
Custom Search