snip
but I don't know how large this Vector will be
/snip
One trick is to submit the size back in a hidden field. In the forms reset()
method, you can use request.getParameter() (unless its a multipart form!) to
get the size and initialise the vector before the form is populated from the
request.
Well,
a) I have not used logic:iterate for these purpose, hence won't be able
to help you out much there. I use the JSTL tags and try to keep away
from the struts tag as much as possible.
b) I would use ArrayList instead of Vectors.
What I would do if I were you would be something like this:
2 matches
Mail list logo