> -----Original Message-----
> From: Sashi Ravipati [mailto:[EMAIL PROTECTED]
> 
> I had a question on how to do the prep action.
> 
> [This assumes the prep action that entered the jsp figured out the
size
> of the list and set it into a hidden in the jsp in a field named
> personListLength.]
> 
> I tried like this but not sure if this is right
> 
> In my action  i added these lines
> 
> ArrayList personList=new ArrayList();
>       personList.add(new PersonBean());
>       request.setAttribute("personList",personList);
>        return mapping.findForward("success");
> 
> I tried to retrieve it in the JSP page but did not get the value. I
must
> be doing something wrong.

If it isn't working, then show us what you did, and show exactly what
happened.  It's hard for us to help if we don't know what you did.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to