Change your property/method signatures from
List<...> persons = new SomeList<...>();
public List getMap();
public void setMap(List value);
to
Map persons = new HashMap();
public Map getMap();
public void setMap(Map value);
L.
Sessizlik wrote:
Hi Musachy,
Thank you for your res
er and access the map like:
>
>
>
> musachy
>
>
--
View this message in context:
http://www.nabble.com/Map-instead-of-List-in-action-tp15561406p15572476.html
Sent from the Struts - User mailing list archive at Nabble.com.
P.
>
> That is to say,
>
> in EditPersonAction.java
>
> Map persons = new HashMap();
>
>
> ----
>
> What Should I do to implement that? Do Getter and setter of this property
> should be changed? And in JSP side what should I do to provide that?
>
>
> T
what should I do to provide that?
Thanks
--
View this message in context:
http://www.nabble.com/Map-instead-of-List-in-action-tp15561406p15561406.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
4 matches
Mail list logo