WebHostal/war/WEB-INF/web.xml

236 lines
7.6 KiB
XML
Raw Normal View History

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<servlet>
<servlet-name>UsersControllerAdd</servlet-name>
<servlet-class>controller.users.UsersControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UsersControllerAdd</servlet-name>
<url-pattern>/users/add</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>UsersControllerIndex</servlet-name>
<servlet-class>controller.users.UsersControllerIndex</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UsersControllerIndex</servlet-name>
<url-pattern>/users</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>UsersControllerView</servlet-name>
<servlet-class>controller.users.UsersControllerView</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UsersControllerView</servlet-name>
<url-pattern>/users/view</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>UsersControllerDelete</servlet-name>
<servlet-class>controller.users.UsersControllerDelete</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UsersControllerDelete</servlet-name>
<url-pattern>/users/delete</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>RolesControllerAdd</servlet-name>
<servlet-class>controller.roles.RolesControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RolesControllerAdd</servlet-name>
<url-pattern>/roles/add</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>RolesControllerIndex</servlet-name>
<servlet-class>controller.roles.RolesControllerIndex</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RolesControllerIndex</servlet-name>
<url-pattern>/roles</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>RolesControllerView</servlet-name>
<servlet-class>controller.roles.RolesControllerView</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RolesControllerView</servlet-name>
<url-pattern>/roles/view</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>RolesControllerDelete</servlet-name>
<servlet-class>controller.roles.RolesControllerDelete</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RolesControllerDelete</servlet-name>
<url-pattern>/roles/delete</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ResourcesControllerAdd</servlet-name>
<servlet-class>controller.resources.ResourcesControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ResourcesControllerAdd</servlet-name>
<url-pattern>/resources/add</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ResourcesControllerIndex</servlet-name>
<servlet-class>controller.resources.ResourcesControllerIndex</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ResourcesControllerIndex</servlet-name>
<url-pattern>/resources</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ResourcesControllerView</servlet-name>
<servlet-class>controller.resources.ResourcesControllerView</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ResourcesControllerView</servlet-name>
<url-pattern>/resources/view</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ResourcesControllerDelete</servlet-name>
<servlet-class>controller.resources.ResourcesControllerDelete</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ResourcesControllerDelete</servlet-name>
<url-pattern>/resources/delete</url-pattern>
</servlet-mapping>
<servlet>
2018-06-17 16:26:01 +00:00
<servlet-name>AccessControllerEdit</servlet-name>
<servlet-class>controller.access.AccessControllerEdit</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerEdit</servlet-name>
<url-pattern>/access/edit</url-pattern>
</servlet-mapping>
2018-06-17 16:26:01 +00:00
<servlet>
<servlet-name>AccessControllerAdd</servlet-name>
<servlet-class>controller.access.AccessControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerAdd</servlet-name>
<url-pattern>/access/add</url-pattern>
</servlet-mapping>
2018-06-17 16:26:01 +00:00
<servlet>
<servlet-name>AccessControllerIndex</servlet-name>
<servlet-class>controller.access.AccessControllerIndex</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerIndex</servlet-name>
<url-pattern>/access</url-pattern>
</servlet-mapping>
2018-06-17 16:26:01 +00:00
<servlet>
<servlet-name>AccessControllerView</servlet-name>
<servlet-class>controller.access.AccessControllerView</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerView</servlet-name>
<url-pattern>/access/view</url-pattern>
</servlet-mapping>
2018-06-17 16:26:01 +00:00
<servlet>
<servlet-name>AccessControllerDelete</servlet-name>
<servlet-class>controller.access.AccessControllerDelete</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerDelete</servlet-name>
<url-pattern>/access/delete</url-pattern>
</servlet-mapping>
<!--
Servlets propios del alumno
-->
<servlet>
<servlet-name>ServicesControllerAdd</servlet-name>
<servlet-class>controller.services.ServicesControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServicesControllerAdd</servlet-name>
<url-pattern>/services/add</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ServicesControllerDelete</servlet-name>
<servlet-class>controller.services.ServicesControllerDelete</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServicesControllerDelete</servlet-name>
<url-pattern>/services/delete</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ServicesControllerIndex</servlet-name>
<servlet-class>controller.services.ServicesControllerIndex</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServicesControllerIndex</servlet-name>
<url-pattern>/services</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ServicesControllerView</servlet-name>
<servlet-class>controller.services.ServicesControllerView</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServicesControllerView</servlet-name>
<url-pattern>/services/view</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
<!--
XML Original
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<servlet>
<servlet-name>AccessControllerAdd</servlet-name>
<servlet-class>controller.access.AccessControllerAdd</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AccessControllerAdd</servlet-name>
<url-pattern>/AccessControllerAdd</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>-->