Information

0
Story Points

Technologies

Web XML
  • Web XML
    Web Application Deployment Descriptors
<?xml version='1.0' encoding='UTF-8'?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4">
	<display-name>JEE Example Web</display-name>

	<filter>
		<filter-name>AuthenticateFilter</filter-name>
		<filter-class>com.acme.anvil.AuthenticateFilter</filter-class>
	</filter>

	<filter-mapping>
		<filter-name>AuthenticateFilter</filter-name>
		<filter-pattern>/*</filter-pattern>
	</filter-mapping>


	<listener>
		<listener-class></listener-class>
	</listener>

	<servlet>
		<servlet-name>AnvilWebServlet</servlet-name>
		<servlet-class>com.acme.anvil.AnvilWebServlet</servlet-class>
		<load-on-startup>0</load-on-startup>
		<run-as>
			<role-name>WebRunAsRole</role-name>
		</run-as>
	</servlet>
	<servlet-mapping>
		<servlet-name>AnvilWebServlet</servlet-name>
		<url-pattern>/AnvilWebServlet</url-pattern>
	</servlet-mapping>
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>default.html</welcome-file>
		<welcome-file>default.htm</welcome-file>
		<welcome-file>default.jsp</welcome-file>
	</welcome-file-list>
	<security-role>
		<role-name>WebRunAsRole</role-name>
	</security-role>
</web-app>