<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

	<filter>
		<filter-name>Wicket</filter-name>
		<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
		<init-param>
			<param-name>applicationClassName</param-name>
			<param-value>com.commafeed.frontend.CommaFeedApplication</param-value>
		</init-param>
	</filter>
	<filter>
		<filter-name>WebResourceOptimizer</filter-name>
		<filter-class>ro.isdc.wro.http.WroFilter</filter-class>
	</filter>
	<filter>
		<filter-name>i18n</filter-name>
		<filter-class>com.commafeed.frontend.utils.InternationalizationDevelopmentFilter</filter-class>
	</filter>

	<filter-mapping>
		<filter-name>WebResourceOptimizer</filter-name>
		<url-pattern>/wro/*</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>Wicket</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
	<filter-mapping>
		<filter-name>i18n</filter-name>
		<url-pattern>/templates/*</url-pattern>
	</filter-mapping>
	
	<listener>
		<listener-class>com.commafeed.frontend.resources.WroListener</listener-class>
	</listener>
</web-app>
