struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vEnkaTa mohAna rAo SriperumbUdUru <mohanara...@gmail.com>
Subject Re: put ArrayList to s:hidden in jsp?
Date Fri, 19 Oct 2012 00:35:01 GMT
Use session object.

On Thu, Oct 18, 2012 at 8:56 PM, <umeshawasthi@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: emilu@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-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> Sent from BlackBerry® on Airtel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message