From: "Caroline Jen" <[EMAIL PROTECTED]>
> I have to get all the "e-mail addresses" of those who
> are selected (if a client puts a check mark in the
> check box). Therefore, I cannot predict ahead of time
> how many e-mail addresses will be read by my web
> application (servlet) after the form is submitted.

I'm confused... is this a Struts webapp? Why use getParameterValues() when
the framework will populate your ActionForm for you?

In this situation I have a List or Map of items (usually DTOs) to be
selected from, use <c:forEach> to display them, and have a String[] in the
ActionForm which Struts will populate with the user's choices.

And... tens of thousands of choices?!  That's a user-interface nightmare.
There has to be a way to narrow down the selection before you present them
with checkboxes, nobody is going to go through a list that large.

-- 
Wendy Smoak


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

Reply via email to