Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
214Activity
0 of .
Results for:
No results containing your search query
P. 1
Curso de JSP Basico

Curso de JSP Basico

Ratings: (0)|Views: 12,254 |Likes:
Published by Cedric Simon
Aprende a crear aplicaciones web con Java (JSP). Escrito en español. Para Tomcat 7 y arriba.

PDF actualizado disponible en http://solucionjava.com/manuales_gratis.php
Aprende a crear aplicaciones web con Java (JSP). Escrito en español. Para Tomcat 7 y arriba.

PDF actualizado disponible en http://solucionjava.com/manuales_gratis.php

More info:

Published by: Cedric Simon on Sep 07, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/05/2014

pdf

text

original

 
Curso de Java Server PagesNivel básicoManual del alumno
<JSP>
 ©
Copyright C
é
dric Simon, 2005-2011 Versi
ó
n 2.3 Reproducci
ó
n prohibida
 I  n g . C  e d i   c  S i  m on el    :  6  8  0  9  7  C  el    :  8  8  8  8  3  8  7 Em ai  l    :  c  e d i   c  @ s  ol    u c i   on j    a v a . c  om  W e b  :  w w w . s  ol    u c i   on j    a v a . c  om
  S  ol    u ci    on J  a v a . c om
 
Curso de Java Server Pages – Nivel b
á
sico Pagina 2 / 46
Í
ndice
 Índice..............................................................................................................................................................................................................21Introducción al curso...................................................................................................................................................................................5
1.1Objetivo de este curso..........................................................................................................................................................................51.2Manual del alumno..............................................................................................................................................................................51.3Ejercicios prácticos..............................................................................................................................................................................51.4Requisitos para atender a este curso..................................................................................................................................................51.5Soporte después del curso....................................................................................................................................................................5
 2Introducción al JSP.....................................................................................................................................................................................6
2.1¿Que es el JSP?.....................................................................................................................................................................................62.2¿Por qué utilizaríamos el JSP?...........................................................................................................................................................62.3Navegadores web..................................................................................................................................................................................6
 3Arquitectura J2EE.......................................................................................................................................................................................7 
3.1Introducción a la Tecnología y Conceptos J2EE...............................................................................................................................73.2Componentes J2EE..............................................................................................................................................................................73.3La Arquitectura Java Naming Directory Interface (JNDI).............................................................................................................8
3.3.1Ejemplo de JNDI.............................................................................................................................................................................8
 4El protocolo HTTP.......................................................................................................................................................................................9
4.1Modelo de consulta / respuesta HTTP...............................................................................................................................................94.2Detalles de una consulta......................................................................................................................................................................94.3Detalles de respuesta..........................................................................................................................................................................104.4Parámetros de consulta.....................................................................................................................................................................114.5Métodos de consulta...........................................................................................................................................................................11
5Instalación del servidor JSP......................................................................................................................................................................13
5.1Jakarta Tomcat..................................................................................................................................................................................135.2Instalación...........................................................................................................................................................................................135.3Configuración de Eclipse...................................................................................................................................................................135.4Verificación de la instalación............................................................................................................................................................14
6Uso de herramienta y entorno...................................................................................................................................................................15
6.1Eclipse.................................................................................................................................................................................................15
6.1.1Creación del servidor....................................................................................................................................................................15
6.1.2Creación de un nuevo proyecto web..............................................................................................................................................166.1.3Creación de la página de índice.....................................................................................................................................................17
7Utilización de los scriptlets........................................................................................................................................................................20
7.1¿Qué son los scriptlets?......................................................................................................................................................................207.2Los scriptlet de declaración de variables.........................................................................................................................................207.3Los scriptlet de utilización de variables...........................................................................................................................................207.4Los scriptlets de código......................................................................................................................................................................20
 ©
Copyright C
é
dric Simon, 2005-2011 Versi
ó
n 2.3 Reproducci
ó
n prohibida
 
Curso de Java Server Pages – Nivel b
á
sico Pagina 3 / 46
7.5Agregar comentarios..........................................................................................................................................................................21
8Utilización de directivas.............................................................................................................................................................................22
8.1Directiva de página............................................................................................................................................................................22
8.1.1Lista de parámetros para directiva de Página................................................................................................................................22
8.2Directiva de inclusión.........................................................................................................................................................................238.3Directiva taglib...................................................................................................................................................................................23
9Utilización de variables de sesión..............................................................................................................................................................24
9.1Declaración de variable de sesión.....................................................................................................................................................249.2Recuperar el valor de un variable de sesión....................................................................................................................................249.3Invalidar una sesión...........................................................................................................................................................................249.4Otros métodos.....................................................................................................................................................................................24
10Objetos implícitos.....................................................................................................................................................................................25
10.1request...............................................................................................................................................................................................2510.2response.............................................................................................................................................................................................2510.3session................................................................................................................................................................................................2510.4application.........................................................................................................................................................................................2510.5out......................................................................................................................................................................................................2510.6exception...........................................................................................................................................................................................25
11Los formularios........................................................................................................................................................................................26
11.1Creación del formulario..................................................................................................................................................................2611.2Tratamiento del formulario............................................................................................................................................................26
12Elementos de acciones estándar..............................................................................................................................................................29
12.1<jsp:forward />.................................................................................................................................................................................2912.2<jsp:include />..................................................................................................................................................................................2912.3<jsp:param>.....................................................................................................................................................................................2912.4<jsp:plugin>......................................................................................................................................................................................2912.5<jsp:params>....................................................................................................................................................................................3012.6<jsp:fallback>...................................................................................................................................................................................3012.7<jsp:useBean>..................................................................................................................................................................................3012.8<jsp:getProperty>............................................................................................................................................................................3012.9<jsp:setProperty>.............................................................................................................................................................................30
13Gestión de errores....................................................................................................................................................................................31
13.1Errores de compilación....................................................................................................................................................................3113.2Errores de lógica..............................................................................................................................................................................3113.3Errores de ejecución........................................................................................................................................................................31
13.3.1Página de error personalizada.....................................................................................................................................................31
14Utilización de JavaBean..........................................................................................................................................................................33
14.1¿Qué es un JavaBean?.....................................................................................................................................................................3314.2Declaración de un JavaBean...........................................................................................................................................................33
14.2.1<jsp:useBean>.............................................................................................................................................................................33
 ©
Copyright C
é
dric Simon, 2005-2011 Versi
ó
n 2.3 Reproducci
ó
n prohibida

Activity (214)

You've already reviewed this. Edit your review.
SystemCM95 liked this
1 thousand reads
1 hundred reads
Cheyzz Gama liked this
Gustavo Krug liked this
rvitecampos liked this
luravaScribd liked this
yaakov2008 liked this
jabenavidesm liked this
Luis Murillo liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->