Session Tracking - May 28th, 2007: Week #4

0 views
Skip to first unread message

fox...@gmail.com

unread,
May 27, 2007, 11:30:00 PM5/27/07
to Java EE Programming with Passion in Spanish
Hola a todos,
Estoy realizando la tarea corrspondiente al capitulo "Session
Tracking". Para esto abri el proyecto HelloWeb y segui las
intrucciones:

# It appends the newly typed name to the previously saved string.
# The string is maintained as an attribute in the Session scope object

* Hint: You get HttpSession object through the following code
fragment
o HttpSession session = request.getSession();
* Hint: You might want to change the setName() method as following
o public void setName(String name) {
if (this.name == null) {
this.name = name;
}
else {
this.name = this.name + name;
}
}

Con lo anterior sólo me basto agregar ese código en la clase
NameHandler y funciono todo OK.

¿Eso es todo lo que hay que hacer? ¿Me salté algúna parte???

Desde ya gracias

Reply all
Reply to author
Forward
0 new messages