Subversion Repositories general

Rev

Rev 936 | Rev 1243 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?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>

  <!-- Standard Action Servlet Configuration (with debugging) -->
  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/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>
    <load-on-startup>2</load-on-startup>
  </servlet>


  <servlet>
    <servlet-name>init</servlet-name>
    <servlet-class>ak.photoalbum.webapp.InitServlet</servlet-class>
    <init-param>
      <param-name>images root</param-name>
      <param-value>/opt/data/photos</param-value>
    </init-param>
    <init-param>
      <param-name>images mask</param-name>
      <param-value>*.jpeg;*.jpg</param-value>
    </init-param>
    <init-param>
      <param-name>cache dir</param-name>
      <param-value>/opt/data/photos/.cache</param-value>
    </init-param>
    <init-param>
      <param-name>thumbnail format</param-name>
      <param-value>jpg</param-value>
    </init-param>
    <init-param>
      <param-name>columns</param-name>
      <param-value>5</param-value>
    </init-param>
    <init-param>
      <param-name>dir template</param-name>
      <param-value>/home/common/prog/PhotoAlbum/webapp/images/dir_template.gif</param-value>
    </init-param>
    <init-param>
      <param-name>dir thumbnails positions</param-name>
      <param-value>
         5, 9,40,40,c,c;
        47, 9,40,40,c,c;
         5,50,40,40,c,c;
        47,50,40,40,c,c
      </param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

  <!-- Standard Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>


  <!-- The Usual Welcome File List -->
  <welcome-file-list>
    <welcome-file>index.do</welcome-file>
  </welcome-file-list>


  <!-- Struts Tag Library Descriptors -->
  <taglib>
    <taglib-uri>/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/tags/struts-tiles</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
  </taglib>

</web-app>