Hi,

I have a jsp where I show some fields of a search. If I click on every row, I must be redirected to a new page with all info of that row. As I read weeks ago at this mailing list, it should be done with html:link, but I have some problems...

The DispatchAction searchUsers which "show" the page with some fields of all rows:

request.getSession().setAttribute("listUsers",users);

The jsp result after that action:

<c:forEach items='${listUsers}' var='lee'>
   <tr>
       <td><c:out value='${lee.dni}'/></td>
       <td><c:out value='${lee.name}'/></td>
<td><html:link action="searchUsers.do?parametro=editUser" paramName="listUsers" paramId='${lee.dni}'>
       Editar   </html:link></td>
   </tr>
</c:forEach>

In the editUser dispatchAction:

Collection usuarios = (Collection)request.getSession().getAttribute("listarUsuarios");
String a = request.getParameter("dni");

The collection usuarios get the correct info, but the string a obtain null.

What am I doing wrong?

Thanks a lot

_________________________________________________________________
Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to