java.util.Set does not guarantee that the order of it's elements remain
constant and does not provide set(int,Object) or get(int) methods.
Use a List or an array in the web tier and perhaps convert to a set in
validation / middle tier.
Cheers,
Lance.
Jaan Tark wrote:
continues ....
so i can make it all work with vectors ... but not sets
so if my action class has:
private Vector<Person> asd;
then, via browser url ... i can set it like:
?asd.name=smth
but, if i'm using a Set instead the Vector
?asd.name=smth
i'm getting "ERRROR ... ParametersIterceptor ... [setParameters]:
Unexpected Exception catched: Error setting expression
if testing with Vector<String> and Set<String> ... everything works
am I in somekind of syntax trouble? ...
rgds
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]