Hi!!!
Yoo-Jin:
Thank you so much for the help!!! I ended up using the HashMap
like you said and my select option collection works!!!
Eric:
I did manage to get the stuff from the database and put it into
the ArrayList, but even though I tried like crazy to find out where
was the mistake, I gave up in the end, sick and tired of that
blank page "Done" I told you about... (I hate it that no matter if
I monitor Catalina on my tomcat it never shows where/what my
mistake/problem is!!!)
One more question, actually two! (maybe I'll write a new post)...
Maybe to you Yoo-Jin who has experience with HashMaps...
-Is there a direct way to sort the keys/labels alphabetically?!
I'd really love it that the options on my select are organized!
I mean, the select from the database is already distinct and
ordered by that particular row, but still, no matter in what order
I put the stuff into the HashMap, it always lists the content
all scrambled up into my select!!!
(I saw somewhere that I could use a sort method but that it won't
work directly with the Map but rather with the key through an
ArrayList, is that right???!)
-I tried as experiment doing another select (once one worked I
got carried away!) so this time I wanted the colors and the
textures to be taken from the database... but it didn't work!
Maybe it lays on my sql ResultSet (maybe only one can be done
at a time?!), any ideas how I can do this? (I'll need two
HashMaps and two pageContext.setAttributes)
I'd appreciate any further help!!! You guys are great!
Chris