|
jforum example source code file (web.xml)
The jforum web.xml 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>JForum - Powering Communities
<description>Open Source Java Forum Software
<!-- Clickstream -->
<filter>
<filter-name>clickstream-jforum
<filter-class>net.jforum.util.legacy.clickstream.ClickstreamFilter
</filter>
<filter-mapping>
<filter-name>clickstream-jforum
<url-pattern>*.page
</filter-mapping>
<listener>
<listener-class>net.jforum.ForumSessionListener
</listener>
<!-- JForum Controller -->
<servlet>
<servlet-name>jforum
<servlet-class>net.jforum.JForum
<init-param>
<param-name>development
<param-value>true
</init-param>
</servlet>
<!-- Installer -->
<servlet>
<servlet-name>install
<servlet-class>net.jforum.InstallServlet
<init-param>
<param-name>development
<param-value>true
</init-param>
</servlet>
<!-- Mapping -->
<servlet-mapping>
<servlet-name>install
<url-pattern>/install/install.page
</servlet-mapping>
<servlet-mapping>
<servlet-name>jforum
<url-pattern>*.page
</servlet-mapping>
<!-- SESSION -->
<session-config>
<session-timeout>10
</session-config>
<welcome-file-list>
<welcome-file>index.htm
</welcome-file-list>
<!-- SSO -->
<!-- Example of SSO configuration -->
<!--
<security-role>
<role-name>user
</security-role>
<security-constraint>
<web-resource-collection>
<web-resource-name>Restricted Area
<url-pattern>/*
</web-resource-collection>
<auth-constraint>
<role-name>user
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC
<realm-name>REALM NAME HERE
</login-config>
-->
</web-app>
Other jforum examples (source code examples)Here is a short list of links related to this jforum web.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.