Skip to content

Commit bece97b

Browse files
EJMEPLO Expression Languaje COMPLETE
1 parent a7b2cb4 commit bece97b

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,4 @@
202202
/ExcelSJPExcepciones/target/
203203
/InclusionEstatica/target/
204204
/ManejoJabaBeans/target/
205+
/EjmploExpressionLanguage/target/
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
<%--
2-
Document : index
3-
Created on : 28 jun. 2021, 18:23:21
4-
Author : brian
5-
--%>
6-
7-
<%@page contentType="text/html" pageEncoding="UTF-8"%>
8-
<!DOCTYPE html>
91
<html>
102
<head>
113
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
12-
<title>JSP Page</title>
4+
<title>Ejemplo de Expresion Languaje</title>
135
</head>
146
<body>
15-
<h1>Hello World!</h1>
7+
<h1>Ejemplo de Expresion Lenguaje</h1>
8+
<br />
9+
<a href="variablesImplicitas.jsp?usuario=juan">Objetos implictos con E L</a>
10+
1611
</body>
1712
</html>
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<html>
22
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4-
<title>JSP Page</title>
4+
<title>Expression Languaje y Variables explicitas</title>
55
</head>
66
<body>
7-
<h1>Hello World!</h1>
7+
<h1>Expression Languaje y Variables explicitas</h1>
8+
<ul>
9+
<li>Nombre de la aplicacion: ${pageContext.request.contextPath}</li>
10+
<li>Navegador Cliente: ${header["User-Agent"]}</li>
11+
<li>Id Session: ${cookie.JSESSIONID.value}</li>
12+
<li>Web Server: ${pageContext.servletContext.serverInfo}</li>
13+
<li>Valor Parametro: ${param.usuario}</li>
14+
</ul>
815
</body>
916
</html>

0 commit comments

Comments
 (0)