Every Action class is instantiated per request. If you're updating a
collection in one action, it will, of course, not be around in the next
collection. It sounds like you need to stuff your shopping cart into the
session.


On Sun, Sep 1, 2013 at 8:39 PM, Srineel Mazumdar <smaz19...@gmail.com>wrote:

> Hi All,
>
> Can anyone please help ?
>
> Thanks..
>
>
> On Fri, Aug 30, 2013 at 10:23 PM, Srineel Mazumdar <smaz19...@gmail.com
> >wrote:
>
> > Yes.. the same collection.
> >
> >
> > On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict <pbened...@apache.org
> >wrote:
> >
> >> Are you retrieving the same collection?
> >>
> >>
> >> On Wed, Aug 28, 2013 at 8:22 AM, Srineel Mazumdar <smaz19...@gmail.com
> >> >wrote:
> >>
> >> > Hi,
> >> >
> >> > I am creating a shopping cart application in Struts 2. I am updating a
> >> list
> >> > in Cart domain object when the user selects some items in shopping
> list
> >> > using checkboxes and clicks Next. In the CheckOut page those items
> >> would be
> >> > shown. But in my case it shows empty list. Upon debugging, I find that
> >> list
> >> > is updated finally, but an empty list is fetched in Check Out page.
> >> >
> >> > Can somebody help me by giving some pointers ?
> >> >
> >> > Thanks.,
> >> > Srineel
> >> >
> >>
> >>
> >>
> >> --
> >> Cheers,
> >> Paul
> >>
> >
> >
>



-- 
Cheers,
Paul

Reply via email to