<?xml version="1.0" encoding="ISO-8859-1"?>

<!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>
	<display-name>Struts Example Portlet Application</display-name>
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.portals.bridges.struts.PortletServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml, /WEB-INF/struts-config-registration.xml</param-value>
    </init-param>
    <init-param>
      <param-name>debug</param-name>
      <param-value>9</param-value>
    </init-param>
    <init-param>
      <param-name>detail</param-name>
      <param-value>9</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>

  <!-- The Welcome File List -->
  <welcome-file-list>
    <welcome-file>WEB-INF/view/welcome.jsp</welcome-file>
  </welcome-file-list>

  <!-- The default error page -->
  <error-page>
   <exception-type>java.lang.Exception</exception-type>
   <location>/WEB-INF/view/Error.jsp</location>
  </error-page>

  <!-- Application Tag Library Descriptor -->
  <taglib>
    <taglib-uri>/tags/app</taglib-uri>
    <taglib-location>/WEB-INF/app.tld</taglib-location>
  </taglib>

</web-app>
