43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app 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"
|
|
version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
|
|
|
|
<!-- Servlets -->
|
|
<servlet>
|
|
<servlet-name>notificationsServlet</servlet-name>
|
|
<servlet-class>org.gcube.portlets.user.notifications.server.NotificationsServiceImpl</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>notificationsServlet</servlet-name>
|
|
<url-pattern>/notifications/notificationsServlet</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>notificationsServlet</servlet-name>
|
|
<url-pattern>/org.gcube.portlets.user.notifications.NotificationsJUnit/notifications/notificationsServlet</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>jUnitHostImpl</servlet-name>
|
|
<servlet-class>com.google.gwt.junit.server.JUnitHostImpl</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>jUnitHostImpl</servlet-name>
|
|
<url-pattern>/org.gcube.portlets.user.notifications.NotificationsJUnit/junithost/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>jUnitHostImpl</servlet-name>
|
|
<url-pattern>/notifications/junithost/*</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<!-- Default page to serve -->
|
|
<welcome-file-list>
|
|
<welcome-file>Notifications.html</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|