Re: <SELECT multiple...
From: Oscar kind (oscar_at_danwa.net)
Date: 11/29/04
- Next message: Chris Smith: "Re: Library program"
- Previous message: Oscar kind: "Re: sending e-mail from server"
- In reply to: Mick: "Re: <SELECT multiple..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Nov 2004 22:03:27 +0100
[note 1: resorted top-posted text as it is not the norm in this newsgroup]
[note 2: added missing attribution and trimmed empty "content"]
Mick <test@nospam.cherryhill.ca> wrote:
> "Dirk Gerrit Oort" <oortdg@hccnet.nl> wrote in message
> news:41ab5fe5$0$153$3a628fcd@reader2.nntp.hccnet.nl...
>> "Mick" <test@nospam.cherryhill.ca> schreef in bericht
>> news:15Jqd.187351$Np3.7625335@ursa-nb00s0.nbnet.nb.ca...
>> >
>> > How do I get all the values from a ListBox with the possibility of
>> > multiple values??
>> >
>> > So far, I can only get the first value with the
>> > ResultSet.getParameter().
>>
>> what do you mean, an awt.list or an javax.swing.jlist or an database
>> resultset.
>
> The values are sent from an HTML form ie.
> <select name = test multiple></select> using POST.
Did you know an input field can be submitted multiple times? You can get
all submitted values with ServletRequest#getParameterValues(String).
-- Oscar Kind http://home.hccnet.nl/okind/ Software Developer for contact information, see website PGP Key fingerprint: 91F3 6C72 F465 5E98 C246 61D9 2C32 8E24 097B B4E2
- Next message: Chris Smith: "Re: Library program"
- Previous message: Oscar kind: "Re: sending e-mail from server"
- In reply to: Mick: "Re: <SELECT multiple..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]