1<?xml version="1.0" encoding="ISO-8859-1"?> 2<web-app> 3 <servlet> 4 <servlet-name>snoop</servlet-name> 5 <servlet-class>SnoopServlet</servlet-class> 6 </servlet> 7 <servlet> 8 <servlet-name>file</servlet-name> 9 <servlet-class>ViewFile</servlet-class> 10 <init-param> 11 <param-name>initial</param-name> 12 <param-value> 13 1000 14 </param-value> 15 <description> 16 The initial value for the counter <!-- optional --> 17 </description> 18 </init-param> 19 </servlet> 20 <servlet-mapping> 21 <servlet-name> 22 mv 23 </servlet-name> 24 <url-pattern> 25 *.wm 26 </url-pattern> 27 </servlet-mapping> 28 29 <distributed/> 30 31 <security-role> 32 <role-name> 33 manager 34 </role-name> 35 <role-name> 36 director 37 </role-name> 38 <role-name> 39 president 40 </role-name> 41 </security-role> 42</web-app> 43