Use session object.

On Thu, Oct 18, 2012 at 8:56 PM, <[email protected]> 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: [email protected]
> ReplyTo: Struts Users Mailing List
> ReplyTo: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
> Sent from BlackBerry® on Airtel

Reply via email to