<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  <description xmlns="">Portlet Application deployed by uPortal.</description>
  <servlet xmlns="">
    <servlet-name>MainTestPortlet</servlet-name>
    <display-name>MainTestPortlet Wrapper</display-name>
    <description>Automated generated Portlet Wrapper</description>
    <servlet-class>org.jasig.portal.container.PortletServlet</servlet-class>
    <init-param>
      <param-name>portlet-class</param-name>
      <param-value>org.springframework.web.portlet.DispatcherPortlet</param-value>
    </init-param>
    <init-param>
      <param-name>portlet-guid</param-name>
      <param-value>TestPortlets.MainTestPortlet</param-value>
    </init-param>
  </servlet>
  <servlet-mapping xmlns="">
    <servlet-name>MainTestPortlet</servlet-name>
    <url-pattern>/MainTestPortlet/*</url-pattern>
  </servlet-mapping>
  <taglib xmlns=""> 
    <taglib-uri>http://java.sun.com/portlet</taglib-uri>  
    <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location> 
  </taglib>  
  <display-name>Test Portlet</display-name>  
  <!--
     | Key of the system property that should specify the root directory of this
     | web app. Applied by WebAppRootListener or Log4jConfigListener.
     +-->  
  <context-param> 
    <param-name>webAppRootKey</param-name>  
    <param-value>testPortlets.root</param-value> 
  </context-param>  
  <context-param> 
    <param-name>log4jConfigLocation</param-name>  
    <param-value>/WEB-INF/log4j.properties</param-value> 
  </context-param>  
  <context-param> 
    <param-name>contextConfigLocation</param-name>  
    <param-value>/WEB-INF/context/applicationContext.xml</param-value> 
  </context-param>  
  <!--
     | The order of these listeners is important and should not be changed
     +-->  
  <listener> 
    <listener-class>org.springframework.web.util.WebAppRootListener</listener-class> 
  </listener>  
  <listener> 
    <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> 
  </listener>  
  <listener> 
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 
  </listener>  
  <!-- 
     | This servlet is needed by the spring DispatcherPortlet for rendering.
     +-->  
  <servlet> 
    <servlet-name>ViewRendererServlet</servlet-name>  
    <servlet-class>org.springframework.web.servlet.ViewRendererServlet</servlet-class>  
    <load-on-startup>1</load-on-startup> 
  </servlet>  
  <!--
Automatically created by Apache Jakarta Tomcat JspC.
Place this fragment in the web.xml before all icon, display-name,
description, distributable, and context-param elements.
-->  
  <servlet> 
    <servlet-name>jsp.WEB_002dINF.jsp.stateModeSwitcher_jsp</servlet-name>  
    <servlet-class>jsp.WEB_002dINF.jsp.stateModeSwitcher_jsp</servlet-class> 
  </servlet>  
  <servlet> 
    <servlet-name>jsp.WEB_002dINF.jsp.include_jsp</servlet-name>  
    <servlet-class>jsp.WEB_002dINF.jsp.include_jsp</servlet-class> 
  </servlet>  
  <servlet-mapping> 
    <servlet-name>jsp.WEB_002dINF.jsp.stateModeSwitcher_jsp</servlet-name>  
    <url-pattern>/WEB-INF/jsp/stateModeSwitcher.jsp</url-pattern> 
  </servlet-mapping>  
  <servlet-mapping> 
    <servlet-name>jsp.WEB_002dINF.jsp.include_jsp</servlet-name>  
    <url-pattern>/WEB-INF/jsp/include.jsp</url-pattern> 
  </servlet-mapping>  
  <!--
All session-config, mime-mapping, welcome-file-list, error-page, taglib,
resource-ref, security-constraint, login-config, security-role,
env-entry, and ejb-ref elements should follow this fragment.
-->  
  <servlet-mapping> 
    <servlet-name>ViewRendererServlet</servlet-name>  
    <url-pattern>/WEB-INF/servlet/view</url-pattern> 
  </servlet-mapping> 
</web-app>
