Use session object.

On Thu, Oct 18, 2012 at 8:56 PM, <umeshawas...@gmail.com> wrote:

> You can not do this directly as hidden field is used to store only a value
>
> You need indexed field to store those value
>
> I am not sure why you want to do this as more information can help others
> to provide some solutions
> ------Original Message------
> From: Emi Lu
> To: user@struts.apache.org
> ReplyTo: Struts Users Mailing List
> ReplyTo: em...@encs.concordia.ca
> Subject: put ArrayList to s:hidden in jsp?
> Sent: Oct 18, 2012 7:45 PM
>
> Good morning,
>
> Is there a way to put hidden ArrayList in JSP please?
>
> For example in a.jsp:
>
> <s:hidden   name="abean.arraylist1"  />
>
> In action java class:
> private ArrayList<Bean2>arraylist1 ;
>
> So that abean.arraylist1 could be retrieved by action java class.
>
> Thanks a lot!
> Emi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
> Sent from BlackBerry® on Airtel

Reply via email to