mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
initial commit
This commit is contained in:
11
src/main/webapp/WEB-INF/beans.xml
Normal file
11
src/main/webapp/WEB-INF/beans.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:weld="http://jboss.org/schema/weld/beans"
|
||||
xsi:schemaLocation="
|
||||
http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.xsd
|
||||
http://jboss.org/schema/weld/beans http://jboss.org/schema/weld/beans_1_1.xsd">
|
||||
|
||||
<weld:scan>
|
||||
<weld:include name="**" />
|
||||
</weld:scan>
|
||||
</beans>
|
||||
22
src/main/webapp/WEB-INF/web.xml
Normal file
22
src/main/webapp/WEB-INF/web.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app version="2.5" 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_2_5.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>
|
||||
<init-param>
|
||||
<param-name>configuration</param-name>
|
||||
<param-value>deployment</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>Wicket</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user