Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: url, fill collection

Jaan Tark

2007-05-15

Replies:

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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.