I'm just here to give my opinion on your "this one looks important" item.
Let's say you have ActionA to setup your form with lots of Strings and
ArrayLists as you said, and ActionB to which the form you're setting up
eventually gets submitted to.

In your ActionA, you're calling "request".equals(mapping.getScope()).  The
mapping object you have at this point is for ActionA, but the form's scope is
defined in ActionB, so mapping.getScope() doesn't give you the scope of the
form you're after.  That's why it's not working as you expected.

 - Hubert

--- Janice <[EMAIL PROTECTED]> wrote:
> Oh, this one looks important: in my method where I set up the form before
> passing it to the .jsp, I set up my form all pretty with lots of Strings
> and
> ArrayLists and then I do one of these:
> <--- snip --->
>       if ( "request".equals(mapping.getScope()) ) {
>         request.setAttribute(mapping.getAttribute(), form);
>       } else {
>         HttpSession session = request.getSession();
>         session.setAttribute(mapping.getAttribute(), form);
>       }
> </--- snip --->
> which I thought was designed to handle this.
> 
> Thanks very much in advance,
> Janice
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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

Reply via email to