File tree Expand file tree Collapse file tree 3 files changed +36
-8
lines changed Expand file tree Collapse file tree 3 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<configuration status =" INFO" >
3
3
<Appenders >
4
- <console name =' Console' target =" SYSTEM_OUT" >
5
- <PatternLayout pattern =" %d{HH:mm:ss} " ></PatternLayout >
4
+ <Console name =" Console" target =" SYSTEM_OUT" >
5
+ <PatternLayout pattern =" %d{HH:mm:ss} [%t] %-5level %logger{36} -%msg%n " ></PatternLayout >
6
6
</console >
7
7
</Appenders >
8
+ <Loggers >
9
+ <Root level =" info" >
10
+ <AppenderRef ref =" Console" />
11
+ </Root >
12
+ </Loggers >
8
13
</configuration >
Original file line number Diff line number Diff line change 2
2
<web-app xmlns =" http://xmlns.jcp.org/xml/ns/javaee"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
5
- version =" 4.0" >
6
- <session-config >
7
- <session-timeout >
8
- 30
9
- </session-timeout >
10
- </session-config >
5
+ version =" 4.0"
6
+ metadata-complete =" true" >
7
+ <context-param >
8
+ <param-name >javax.faces.PROJECT_STAGE</param-name >
9
+ <param-value >Development</param-value >
10
+ </context-param >
11
+ <servlet >
12
+ <servlet-name >Faces Servlet</servlet-name >
13
+ <servlet-class >javax.faces.webapp.FacesServlet</servlet-class >
14
+ <load-on-startup >1</load-on-startup >
15
+ </servlet >
16
+ <servlet-mapping >
17
+ <servlet-name >Faces Servlet</servlet-name >
18
+ <url-pattern >/faces/*</url-pattern >
19
+ </servlet-mapping >
20
+ <welcome-file-list >
21
+ <welcome-file >faces/index.xhtml</welcome-file >
22
+ </welcome-file-list >
23
+
11
24
</web-app >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html xmlns ="http://www.w3.org/1999/xhtml "
3
+ xmlns:h ="http://java.sun.com/jsf/html ">
4
+ < head >
5
+ < title > Hola Mundo JSF</ title >
6
+ </ head >
7
+ < body >
8
+ < h:outputLabel value ="Hola Mundo desde JSF " />
9
+ </ body >
10
+ </ html >
You can’t perform that action at this time.
0 commit comments