|
What this is
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> <!-- Below is sample realm configuration to demo MVNForum Single Sign On --> <security-constraint> <display-name>Example Security Constraint <web-resource-collection> <web-resource-name>Protected Area <!-- Define the context-relative URL(s) to be protected --> <url-pattern>/realm/* <!-- If you list http methods, only those methods are protected --> <http-method>DELETE <http-method>GET <http-method>POST <http-method>PUT </web-resource-collection> <auth-constraint> <!-- Anyone with one of the listed roles may access this area --> <role-name>tomcat </auth-constraint> </security-constraint> <!-- Default login configuration uses form-based authentication --> <login-config> <auth-method>FORM <realm-name>Example Form-Based Authentication Area <form-login-config> <form-login-page>/realm/login.jsp <form-error-page>/realm/error.jsp </form-login-config> </login-config> <!-- Security roles referenced by this web application --> <security-role> <role-name>tomcat </security-role> </web-app> |
... 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.