cedric      02/03/22 09:40:03

  Added:       contrib/tiles/web/blank/WEB-INF web-struts.xml
  Log:
  Add missing files.
  This should correct bugs7229
  
  Revision  Changes    Path
  1.1                  jakarta-struts/contrib/tiles/web/blank/WEB-INF/web-struts.xml
  
  Index: web-struts.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  
  <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
  
  <web-app>
  
    <!-- Action Servlet Configuration -->
    <servlet>
      <servlet-name>action</servlet-name>
            <!-- Specify servlet class to use 
                  If you also plan to use Struts, use ActionComponentServlet 
                  If you don't need Struts, use TilesServlet --> 
        <servlet-class>org.apache.struts.tiles.ActionComponentServlet</servlet-class>  
 
      <!-- <servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class> -->
        
          <!-- Tiles Servlet parameter 
                  Specify configuration file names. There can be several comma 
                  separated file names
                -->     
        <init-param>
        <param-name>definitions-config</param-name>
        <param-value>/WEB-INF/tiles-defs.xml</param-value>
      </init-param>
        
          <!-- Tiles Servlet parameter 
                  Specify Tiles debug level.
                  O : no debug information
                  1 : debug information
                  2 : more debug information
                -->     
      <init-param>
        <param-name>definitions-debug</param-name>
        <param-value>1</param-value>
      </init-param>
        
          <!-- Tiles Servlet parameter 
                Specify Digester debug level. This value is passed to Digester
                  O : no debug information
                  1 : debug information
                  2 : more debug information
                -->     
      <init-param>
        <param-name>definitions-parser-details</param-name>
        <param-value>0</param-value>
      </init-param>
        
          <!-- Tiles Servlet parameter 
                Specify if xml parser should validate the Tiles configuration file.
                true : validate. DTD should be specified in file header.
                false : no validation
                -->     
      <init-param>
        <param-name>definitions-parser-validate</param-name>
        <param-value>true</param-value>
      </init-param>
  
          <!-- Struts configuration, if Struts is used -->
      <init-param>
        <param-name>config</param-name>
        <param-value>/WEB-INF/struts-config.xml</param-value>
      </init-param>
      <init-param>
        <param-name>validate</param-name>
        <param-value>true</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>
        
      <load-on-startup>2</load-on-startup>
    </servlet>
  
  
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.do</url-pattern>
    </servlet-mapping>
  
  
    <!-- The Welcome File List -->
    <welcome-file-list>
      <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
  
    <!-- Struts Tag Library Descriptor -->
    <taglib>
      <taglib-uri>/WEB-INF/tiles.tld</taglib-uri>
      <taglib-location>/WEB-INF/tiles.tld</taglib-location>
    </taglib>
   
  </web-app>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to