Posted By:
valley_
Posted On:
Tuesday, March 27, 2001 05:40 AM
Hi, what's the easiest way to get all strings out of a html-combobox and send them (perhaps as an array) to a servlet, when the user clicks the submit button ? I considered these two ways: 1) a javascript function takes all the strings and creates an array. after that it sets this array as a parameter to the request that goes to the servlet. but how does the servlet treat this array ? 2) setting all the strings into a bean and send this bean in the request to the servlet. What do you think ? Thanks a lot. rivella50
More>>
Hi,
what's the easiest way to get all strings out of a html-combobox
and send them (perhaps as an array) to a servlet, when the user
clicks the submit button ?
I considered these two ways:
1) a javascript function takes all the strings and creates an array. after
that it sets this array as a parameter to the request that goes to the
servlet. but how does the servlet treat this array ?
2) setting all the strings into a bean and send this bean in the request
to the servlet.
What do you think ?
Thanks a lot.
rivella50
<<Less