Hi,
I wanted to capture HTML Select values the other day. I had some
difficulties. I tried to use myParameterParser.getStrings("myselectname"),
but it didn't work. I had to use the following:
// lo tech code begin
HttpServletRequest req = data.getRequest();
String[] selectValues = req.getParameterValues("myselectname");
// lo tech code end
It seems that the problem lies on the usage of Hashtable in the
ParameterParser. As far as I know, Hashtables would override the previous
values if you put new values which have the same keys as the previous
values' keys. So that using getStrings() you can only get the first values
of HTML forms "objects" which have multiple values; eg: in a <select
multiple> tag.
Oki
ps: Currently I use Turbine 20000810 with Sun's JDK 1.3 HotSpot; which is
faster.
--
Linux programs already can run on HP-UX systems using HP's PA-RISC chip, but
they must go through a technical reworking process called recompilation.
http://news.cnet.com/news/0-1003-200-2495414.html
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]