alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="UTF-8"?>
<!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>mvnForum WebApp
  <description>MyVietnam mvnForum Web Application

  <filter>
    <filter-name>CompressionFilter
    <filter-class>net.myvietnam.mvncore.servlet.filter.CompressionFilter
    <init-param>
      <param-name>compressionThreshold
      <param-value>128
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>CompressionFilter
    <url-pattern>/mvnforum/*
  </filter-mapping>
  <filter-mapping>
    <filter-name>CompressionFilter
    <url-pattern>/mvnforumadmin/*
  </filter-mapping>

  <listener>
    <listener-class>com.mvnforum.MVNForumContextListener
  </listener>
    
  <servlet>
    <servlet-name>ForumAdminServlet
    <servlet-class>com.mvnforum.admin.ForumAdminServlet
  </servlet>
  <servlet>
    <servlet-name>ForumUserServlet
    <servlet-class>com.mvnforum.user.ForumUserServlet
  </servlet>

  <!-- Action Servlet Configuration -->
  <!-- comment out for the next RC3_dev release
  <servlet>
    <servlet-name>action
    <servlet-class>org.apache.struts.action.ActionServlet
    <init-param>
      <param-name>config
      <param-value>/WEB-INF/struts-config.xml
    </init-param>
    <load-on-startup>1
  </servlet>
  -->

  <!-- Action Servlet Mapping -->
  <servlet-mapping>
    <servlet-name>ForumAdminServlet
    <url-pattern>/mvnforumadmin/*
  </servlet-mapping>

  <!-- comment out for the next RC3_dev release
  <servlet-mapping>
    <servlet-name>action
    <url-pattern>/mvnforum/index*
  </servlet-mapping>
  -->

  <servlet-mapping>
    <servlet-name>ForumUserServlet
    <url-pattern>/mvnforum/*
  </servlet-mapping>

  <session-config>
    <session-timeout>120
  </session-config>

  <welcome-file-list>
    <welcome-file>index.jsp
  </welcome-file-list>

  <taglib>
    <taglib-uri>http://jsptags.com/tags/navigation/pager
    <taglib-location>/WEB-INF/pager-taglib.tld
  </taglib>

  <system-property javax.xml.transform.TransformerFactory="com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"/>
  <system-property javax.xml.parsers.DocumentBuilderFactory="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
  <system-property javax.xml.parsers.SAXParserFactory="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>

</web-app>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.