<?xml version="1.0" encoding="UTF-8"?>
 <!-- $Id: web-header.xml,v 1.35 2003/11/26 07:28:41 rameshbabu Exp $ -->
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

    <context-param>
        <param-name>availableSkins</param-name>
        <param-value>SteelBlue,OliveGreen</param-value>
    </context-param>          <context-param>         <param-name>DeviceQuery</param-name>         <param-value>true</param-value>         </context-param>          <context-param>         <param-name>defaultTree</param-name>         <param-value>SwipeTree</param-value>         </context-param>
    <context-param>
        <param-name>defaultSkin</param-name>
        <param-value>SteelBlue</param-value>
    </context-param>
    <context-param>
       <param-name>webClientStateFile</param-name>
       <param-value>WebClientState.properties</param-value>
    </context-param>
    <context-param>
        <param-name>searchViewLength</param-name>
        <param-value>1000</param-value>
    </context-param>
    <context-param>
        <param-name>useWebClientImages</param-name>
        <param-value>true</param-value>
    </context-param>

     <!--     <context-param>         <param-name>showPageLoadingTime</param-name>         <param-value>true</param-value>     </context-param>     -->     <context-param>         <param-name>ring</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.RingLayout</param-value>     </context-param>     <context-param>         <param-name>star</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.StarLayout</param-value>     </context-param>     <context-param>         <param-name>grid</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.NmsGridLayout</param-value>     </context-param>     <context-param>         <param-name>flow</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.NmsFlowLayout</param-value>     </context-param>     <context-param>         <param-name>switch</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.SwitchLayout</param-value>     </context-param>     <context-param>         <param-name>ethernet</param-name>         <param-value>com.adventnet.nms.webclient.map.layout.EthernetLayout</param-value>     </context-param>     <context-param>         <param-name>exampleMapStatus</param-name>         <param-value>enabled</param-value>     </context-param>   <filter>     <filter-name>Compress</filter-name>     <filter-class>com.adventnet.nms.webclient.util.GZIPFilter</filter-class>   </filter>   <filter>     <filter-name>Cache</filter-name>     <filter-class>com.adventnet.nms.webclient.util.CacheFilter</filter-class>   </filter> <filter>
     <filter-name>EncodingFilter</filter-name>
     <filter-class>com.adventnet.nms.webclient.i18n.EncodingFilter</filter-class>
	<init-param>
		<param-name>CharacterEncoding</param-name>
		<param-value>UTF-8</param-value>
	</init-param>
	<init-param>
		<param-name>ContentType</param-name>
		<param-value>text/html; charset=UTF-8</param-value>
	</init-param>
</filter>

<filter>
     <filter-name>AuthenticationFilter</filter-name>
     <filter-class>com.adventnet.nms.webclient.login.AuthenticationFilter</filter-class>
     <init-param>
                <param-name>excludeAuthentication</param-name>
                <param-value>Login.jsp,Logout.do,LoginPage.do,WebStart,jnlp</param-value>
     </init-param>
</filter>

 <filter-mapping>     <filter-name>Compress</filter-name>     <url-pattern>*.do</url-pattern> </filter-mapping>   <filter-mapping>
     <filter-name>EncodingFilter</filter-name>
     <url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
     <filter-name>EncodingFilter</filter-name>
     <url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
     <filter-name>AuthenticationFilter</filter-name>
     <url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
     <filter-name>AuthenticationFilter</filter-name>
     <url-pattern>*.jsp</url-pattern>
</filter-mapping>


<listener>
     <listener-class>com.adventnet.nms.webclient.util.NmsServletContextAttributeListener</listener-class>
</listener>          <listener>         <listener-class>com.adventnet.nms.webclient.util.SessionListener</listener-class>         </listener>

<listener>
     <listener-class>com.adventnet.nms.webclient.util.NmsHttpSessionAttributeListener</listener-class>
</listener>

<servlet>
	<servlet-name>action</servlet-name>
	<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

	<init-param>
		<param-name>config</param-name>
		<param-value>/webclient/common/conf/struts-config.xml</param-value>
	</init-param>

	<init-param>
		<param-name>config/fault</param-name>
		<param-value>/webclient/fault/conf/fault-struts-config.xml</param-value>
	</init-param>

	<init-param>
		<param-name>config/topo</param-name>
		<param-value>/webclient/topo/conf/topo-struts-config.xml</param-value>
	</init-param>

	<init-param>
		<param-name>config/map</param-name>
		<param-value>/webclient/map/conf/map-struts-config.xml</param-value>             </init-param>    <init-param>    <param-name>config/report</param-name>    <param-value>/webclient/report/conf/report-struts-config.xml</param-value>
	</init-param>
        <init-param>
                <param-name>config/perf</param-name>
                <param-value>/webclient/perf/conf/perf-struts-config.xml</param-value>
        </init-param>
        <init-param>
                <param-name>config/admin</param-name>
                <param-value>/webclient/admin/conf/admin-struts-config.xml</param-value>             </init-param>    <init-param>    <param-name>config/home</param-name>    <param-value>/webclient/home/conf/home-struts-config.xml</param-value>
        </init-param>
	<init-param>
		<param-name>debug</param-name>
		<param-value>2</param-value>
	</init-param>

	<init-param>
		<param-name>detail</param-name>
		<param-value>2</param-value>
	</init-param>

	<init-param>
		<param-name>validate</param-name>
		<param-value>true</param-value>
	</init-param>
	<load-on-startup>2</load-on-startup>
</servlet>

<servlet>
	<servlet-name>WebClientServlet</servlet-name>		
	<servlet-class>com.adventnet.webclient.WebClientServlet</servlet-class>
	<init-param>
                <param-name>LOG_LEVEL</param-name>
                <param-value>1000</param-value>
        </init-param>
	<load-on-startup>20</load-on-startup>
</servlet>

<servlet>
	<servlet-name>ResourceInitializationServlet</servlet-name>
	<servlet-class>com.adventnet.nms.webclient.i18n.ResourceInitializationServlet</servlet-class>
	<init-param>
		<param-name>TopoModulePrefix</param-name>
		<param-value>/topo</param-value>
	</init-param>
	<init-param>
		<param-name>FaultModulePrefix</param-name>
		<param-value>/fault</param-value>
	</init-param>
	<init-param>
		<param-name>MapModulePrefix</param-name>
		<param-value>/map</param-value>
	</init-param>
        <init-param>
                <param-name>PerfModulePrefix</param-name>
                <param-value>/perf</param-value>
        </init-param>
        <init-param>
                <param-name>AdminModulePrefix</param-name>
                <param-value>/admin</param-value>
        </init-param>
	<load-on-startup>200</load-on-startup>
</servlet>

<servlet>
        <servlet-name>ReportInitializationServlet</servlet-name>
        <servlet-class>com.adventnet.nms.webclient.performance.reports.ReportInitializationServlet</servlet-class>
        <init-param>
                <param-name>GraphInfoPath</param-name>
                <param-value>webclient/perf/conf/GraphInfo.xml</param-value>
        </init-param>
        <init-param>
                <param-name>DefaultReportType</param-name>
                <param-value>INTERFACE_in_octets</param-value>
        </init-param>
        <init-param>
                <param-name>DefaultGraphType</param-name>
                <param-value>LineGraph</param-value>
        </init-param>
        <init-param>
                <param-name>DefaultPeriod</param-name>
                <param-value>today</param-value>
        </init-param>
       <init-param>
                <param-name>GraphRenderPath</param-name>
                <param-value>graphs/graph.jpg</param-value>
        </init-param>
       <init-param>
                <param-name>JasperCompiledResource</param-name>
                <param-value>webclient/perf/conf/TableReportFormat.xml.jasper</param-value>
        </init-param>
       <init-param>
                <param-name>JasperHtmlDataPath</param-name>
                <param-value>reports/ReportTable.html</param-value>
       </init-param>
       <init-param>
                <param-name>defaultXaxisDateFormatForDay</param-name>
                <param-value>HH:mm</param-value>
       </init-param>
       <init-param>
                <param-name>defaultXaxisDateFormatForWeek</param-name>
                <param-value>MMM, dd</param-value>
       </init-param>
       <init-param>
                <param-name>defaultXaxisDateFormatForMonth</param-name>
                <param-value>MMM, dd</param-value>
       </init-param>
       <init-param>
                <param-name>defaultXaxisDateFormatForYear</param-name>
                <param-value>MMM, dd</param-value>
        </init-param>
       <init-param>
                <param-name>ReportPeriodList</param-name>
                <param-value>today,past7days,past30days,custom</param-value>
        </init-param>
	<load-on-startup>200</load-on-startup>
</servlet>

