struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Míguel Ángel Mulero Martínez <>
Subject RE: Clarification with Struts
Date Wed, 29 Jan 2003 09:46:10 GMT
You must use and ActionForm with
String[] getXXXX(YYYY) and setXXXXX(String[] YYYY)

If you create the ActionForm, use the set to put the values and use the
request.setAttribute(actionform) before call the JSP, all is done.


-----Mensaje original-----
De: Uday []
Enviado el: miércoles, 29 de enero de 2003 10:41
Asunto: Clarification with Struts

Hi All,

I have table in which one column is with all checkboxes. These checkboxes i
generated using structs-taglib multibox tag.
While generating checkboxes, i named the values of each checkboxes with
0,1,2, etc., by incrementing the i value.
If user selects any checkbox, its value (it can be 0 or 1 or 2....) will be
sending to action class and the action class get the data from the bean
depending on the index (0 or 1 or 2) and write it to file.

Now my requirement is when the user log in to the same page, the previously
selected checkboxes to be cheked true.

Can any one of you tell me how to do it ?

It is very urgent.

Have a nice day


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message