8187691c4ec58d30632067babd0a72922750aca1
[simdecs.git] / web / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <context-param>
4         <param-name>javax.faces.PROJECT_STAGE</param-name>
5         <param-value>Production</param-value>
6     </context-param>
7     <servlet>
8         <servlet-name>Faces Servlet</servlet-name>
9         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
10         <load-on-startup>1</load-on-startup>
11     </servlet>
12     <servlet>
13         <servlet-name>NewServlet</servlet-name>
14         <servlet-class>newpackage.NewServlet</servlet-class>
15     </servlet>
16     <servlet>
17         <servlet-name>MetodoAutenticacao</servlet-name>
18         <servlet-class>org.ufcspa.simdecs.comunicacao.MetodoAutenticacao</servlet-class>
19     </servlet>
20     <servlet>
21         <servlet-name>MetodoParaGravarLog</servlet-name>
22         <servlet-class>org.ufcspa.simdecs.comunicacao.MetodoParaGravarLog</servlet-class>
23     </servlet>
24     <servlet>
25         <servlet-name>MetodoSelecionaJogo</servlet-name>
26         <servlet-class>org.ufcspa.simdecs.comunicacao.MetodoSelecionaJogo</servlet-class>
27     </servlet>
28     <servlet>
29         <servlet-name>MetodoSelecionaTipoJogo</servlet-name>
30         <servlet-class>org.ufcspa.simdecs.comunicacao.MetodoSelecionaTipoJogo</servlet-class>
31     </servlet>
32     <servlet>
33         <servlet-name>MetodoSelecionaCaso</servlet-name>
34         <servlet-class>org.ufcspa.simdecs.comunicacao.MetodoSelecionaCaso</servlet-class>
35     </servlet>
36     <servlet-mapping>
37         <servlet-name>Faces Servlet</servlet-name>
38         <url-pattern>*.jsf</url-pattern>
39     </servlet-mapping>
40     <servlet-mapping>
41         <servlet-name>NewServlet</servlet-name>
42         <url-pattern>/NewServlet</url-pattern>
43     </servlet-mapping>
44     <servlet-mapping>
45         <servlet-name>MetodoAutenticacao</servlet-name>
46         <url-pattern>/MetodoAutenticacao</url-pattern>
47     </servlet-mapping>
48     <servlet-mapping>
49         <servlet-name>MetodoParaGravarLog</servlet-name>
50         <url-pattern>/MetodoParaGravarLog</url-pattern>
51     </servlet-mapping>
52     <servlet-mapping>
53         <servlet-name>MetodoSelecionaJogo</servlet-name>
54         <url-pattern>/MetodoSelecionaJogo</url-pattern>
55     </servlet-mapping>
56     <servlet-mapping>
57         <servlet-name>MetodoSelecionaTipoJogo</servlet-name>
58         <url-pattern>/MetodoSelecionaTipoJogo</url-pattern>
59     </servlet-mapping>
60     <servlet-mapping>
61         <servlet-name>MetodoSelecionaCaso</servlet-name>
62         <url-pattern>/MetodoSelecionaCaso</url-pattern>
63     </servlet-mapping>
64     <session-config>
65         <session-timeout>
66             30
67         </session-timeout>
68     </session-config>
69     <welcome-file-list>
70         <welcome-file>editDiagram.jsf</welcome-file>
71     </welcome-file-list>
72     <filter>    
73         <filter-name>PrimeFaces FileUpload Filter</filter-name> 
74         <filter-class>  
75             org.primefaces.webapp.filter.FileUploadFilter
76         </filter-class>
77     </filter>   
78     <filter-mapping>    
79         <filter-name>PrimeFaces FileUpload Filter</filter-name> 
80         <servlet-name>Faces Servlet</servlet-name>
81     </filter-mapping>
82 </web-app>