0,0 → 1,124 |
<?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> |
|
<filter> |
<filter-name>Encoding Filter</filter-name> |
<filter-class>ak.hostcaptain.core.servlet.EncodingFilter</filter-class> |
</filter> |
<filter> |
<filter-name>Hibernate Filter</filter-name> |
<filter-class>ak.hostcaptain.core.servlet.HibernateFilter</filter-class> |
<init-param> |
<param-name>register</param-name> |
<param-value> |
ak.hostcaptain.core.model.UserManager; |
ak.hostcaptain.core.model.MailboxManager; |
ak.hostcaptain.core.model.MailAliasManager; |
ak.hostcaptain.core.model.MailAliasDestinationManager; |
ak.hostcaptain.core.model.SystemUserManager; |
ak.hostcaptain.core.model.InetDomainManager |
</param-value> |
</init-param> |
</filter> |
<filter> |
<filter-name>Login Filter</filter-name> |
<filter-class>ak.hostcaptain.core.servlet.LoginFilter</filter-class> |
<init-param> |
<param-name>loginUrl</param-name> |
<param-value>/system/login.do?backpath=</param-value> |
</init-param> |
<init-param> |
<param-name>passUrls</param-name> |
<param-value>/system/*</param-value> |
</init-param> |
</filter> |
|
<filter-mapping> |
<filter-name>Encoding Filter</filter-name> |
<url-pattern>/*</url-pattern> |
</filter-mapping> |
<filter-mapping> |
<filter-name>Hibernate Filter</filter-name> |
<url-pattern>/*</url-pattern> |
</filter-mapping> |
<filter-mapping> |
<filter-name>Login Filter</filter-name> |
<url-pattern>/*</url-pattern> |
</filter-mapping> |
|
<!-- 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> |
|
|
<!-- 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>index.html</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> |
|
<taglib> |
<taglib-uri>/ak/backpath</taglib-uri> |
<taglib-location>/WEB-INF/ak-backpath.tld</taglib-location> |
</taglib> |
|
<taglib> |
<taglib-uri>/ak/hostcaptain/core</taglib-uri> |
<taglib-location>/WEB-INF/hostcaptain-core.tld</taglib-location> |
</taglib> |
|
</web-app> |