Add filter that can remove single elements from collections.
[demoscenemusic.git] / src / main / webapp / WEB-INF / web.xml.template
1 <?xml version="1.0" encoding="utf-8"?>
2 <web-app>
3
4         <display-name>DemosceneMusic</display-name>
5         <description>Database for all demoscene music</description>
6
7         <listener>
8                 <description>Listener for context-related events</description>
9                 <listener-class>net.pterodactylus.demoscenemusic.core.Core</listener-class>
10         </listener>
11
12         <context-param>
13                 <description>The directory where the files are stored.</description>
14                 <param-name>data-directory</param-name>
15                 <param-value>/var/lib/demoscene-music/files</param-value>
16         </context-param>
17
18         <resource-ref>
19                 <description>DB Connection</description>
20                 <res-ref-name>jdbc/demosceneMusic</res-ref-name>
21                 <res-type>javax.sql.DataSource</res-type>
22                 <res-auth>Container</res-auth>
23         </resource-ref>
24
25         <servlet>
26                 <servlet-name>StaticServlet</servlet-name>
27                 <servlet-class>net.pterodactylus.demoscenemusic.core.StaticServlet</servlet-class>
28         </servlet>
29
30         <servlet>
31                 <servlet-name>TemplateServlet</servlet-name>
32                 <servlet-class>net.pterodactylus.demoscenemusic.core.TemplateServlet</servlet-class>
33                 <init-param>
34                         <param-name>artist</param-name>
35                         <param-value>net.pterodactylus.demoscenemusic.page.ArtistPage</param-value>
36                 </init-param>
37                 <init-param>
38                         <param-name>artists</param-name>
39                         <param-value>net.pterodactylus.demoscenemusic.page.ArtistsPage</param-value>
40                 </init-param>
41                 <init-param>
42                         <param-name>index</param-name>
43                         <param-value>net.pterodactylus.demoscenemusic.page.IndexPage</param-value>
44                 </init-param>
45                 <init-param>
46                         <param-name>login</param-name>
47                         <param-value>net.pterodactylus.demoscenemusic.page.LoginPage</param-value>
48                 </init-param>
49                 <init-param>
50                         <param-name>logout</param-name>
51                         <param-value>net.pterodactylus.demoscenemusic.page.LogoutPage</param-value>
52                 </init-param>
53                 <init-param>
54                         <param-name>openid</param-name>
55                         <param-value>net.pterodactylus.demoscenemusic.page.OpenIdPage</param-value>
56                 </init-param>
57                 <init-param>
58                         <param-name>parties</param-name>
59                         <param-value>net.pterodactylus.demoscenemusic.page.PartiesPage</param-value>
60                 </init-param>
61                 <init-param>
62                         <param-name>party</param-name>
63                         <param-value>net.pterodactylus.demoscenemusic.page.PartyPage</param-value>
64                 </init-param>
65                 <init-param>
66                         <param-name>register</param-name>
67                         <param-value>net.pterodactylus.demoscenemusic.page.RegisterPage</param-value>
68                 </init-param>
69                 <init-param>
70                         <param-name>track</param-name>
71                         <param-value>net.pterodactylus.demoscenemusic.page.TrackPage</param-value>
72                 </init-param>
73                 <init-param>
74                         <param-name>admin.add-artist</param-name>
75                         <param-value>net.pterodactylus.demoscenemusic.page.admin.AddArtistPage</param-value>
76                 </init-param>
77                 <init-param>
78                         <param-name>admin.add-group</param-name>
79                         <param-value>net.pterodactylus.demoscenemusic.page.admin.AddGroupPage</param-value>
80                 </init-param>
81                 <init-param>
82                         <param-name>admin.add-party</param-name>
83                         <param-value>net.pterodactylus.demoscenemusic.page.admin.AddPartyPage</param-value>
84                 </init-param>
85                 <init-param>
86                         <param-name>admin.add-track</param-name>
87                         <param-value>net.pterodactylus.demoscenemusic.page.admin.AddTrackPage</param-value>
88                 </init-param>
89                 <init-param>
90                         <param-name>admin.add-derivative</param-name>
91                         <param-value>net.pterodactylus.demoscenemusic.page.admin.AddTrackDerivativePage</param-value>
92                 </init-param>
93                 <init-param>
94                         <param-name>admin.edit-artist</param-name>
95                         <param-value>net.pterodactylus.demoscenemusic.page.admin.EditArtistPage</param-value>
96                 </init-param>
97                 <init-param>
98                         <param-name>admin.edit-derivative</param-name>
99                         <param-value>net.pterodactylus.demoscenemusic.page.admin.EditDerivativePage</param-value>
100                 </init-param>
101                 <init-param>
102                         <param-name>admin.edit-group</param-name>
103                         <param-value>net.pterodactylus.demoscenemusic.page.admin.EditGroupPage</param-value>
104                 </init-param>
105                 <init-param>
106                         <param-name>admin.edit-party</param-name>
107                         <param-value>net.pterodactylus.demoscenemusic.page.admin.EditPartyPage</param-value>
108                 </init-param>
109                 <init-param>
110                         <param-name>admin.edit-track</param-name>
111                         <param-value>net.pterodactylus.demoscenemusic.page.admin.EditTrackPage</param-value>
112                 </init-param>
113                 <init-param>
114                         <param-name>admin.list-artists</param-name>
115                         <param-value>net.pterodactylus.demoscenemusic.page.admin.ListArtistsPage</param-value>
116                 </init-param>
117                 <init-param>
118                         <param-name>admin.list-groups</param-name>
119                         <param-value>net.pterodactylus.demoscenemusic.page.admin.ListGroupsPage</param-value>
120                 </init-param>
121                 <init-param>
122                         <param-name>admin.list-parties</param-name>
123                         <param-value>net.pterodactylus.demoscenemusic.page.admin.ListPartiesPage</param-value>
124                 </init-param>
125                 <load-on-startup>0</load-on-startup>
126         </servlet>
127
128         <servlet>
129                 <servlet-name>DownloadServlet</servlet-name>
130                 <servlet-class>net.pterodactylus.demoscenemusic.core.DownloadServlet</servlet-class>
131         </servlet>
132
133         <servlet-mapping>
134                 <servlet-name>StaticServlet</servlet-name>
135                 <url-pattern>/static/*</url-pattern>
136         </servlet-mapping>
137
138         <servlet-mapping>
139                 <servlet-name>DownloadServlet</servlet-name>
140                 <url-pattern>/download</url-pattern>
141         </servlet-mapping>
142
143         <servlet-mapping>
144                 <servlet-name>TemplateServlet</servlet-name>
145                 <url-pattern>/*</url-pattern>
146         </servlet-mapping>
147
148 </web-app>