I think it is better to use session.
You can do that by using ActionForm, but it is not recommended.
Best,
Felipe
john lee-15 wrote:
>
> Hi everyone,
>
> In regular jsp, just use session + vector to build shopping cart,
>
> how about for the struts 1.3.* ? use same concept or use
El lun, 22 de 05 de 2006 a las 19:00, rajan pahuja escribió:
Programming Jakarta Struts - Chuck Cavaness - ISBN 0-596-00328-5
This book is great, despite i don't have the last revisión, IMHO it's a
must read resource.
> find it in book programming Struts by chuck cavass,orielly pulications.
> t
find it in book programming Struts by chuck cavass,orielly pulications.
the struts is explained in the whole book based on shopping cart example.
Mounir Bohsali <[EMAIL PROTECTED]> wrote: Hi,
Does anyone know if there is a Struts free open source shopping cart?
I found two but they cost $500-$
Hi David, yeap you got the stuff right. The only thing I forgot to tell
you is: if you not using Struts dialogs you have to "prepopulate" the
form. So you actually need two actions 1st for prepopulating of
properties and 2nd for correlation with the user input. Or you just use
Struts Dialogs, i
Cool site, thanks pal :)
I'm actually lived in Hannover 1999-2000, studied economics there...
Cheers,
Danny
Bednarz, id-on GmbH schrieb:
printx.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Thank you for your reply. So in your ActionForm you have a List
property called cartEntries? And the struts populating mechanism is
aware of this because you have the [] characters in the textbox name,
right? And the cartEntries list contains a CartEntry object which has a
productCount property, a
printx.org
*** REPLY SEPARATOR ***
On 23.11.2005 at 15:06 Danny Lee wrote:
>Here's a snippet from my checkout.jsp:
>
> varStatus="status">
>
>
>
>
>
>
>
>
> align=left height=40>
> value="${item.productName}"/>
>
Here's a snippet from my checkout.jsp:
varStatus="status">
align=left height=40>
value="${item.productName}"/>
value="${item.productPrice}" type="currency" currencySymbol="€"/>
x
align="left"/>
Ok, I decided to work with the session context. But I have a problem I
don't know how to solve it.
I have a form, inside there's a submit button but there are some buttons
in order to do extra function like add a new item to the form.
My problem is I don't how to store in my action the data
;
To: "Struts Users Mailing List" ; "Rafael Taboada"
<[EMAIL PROTECTED]>
Sent: Friday, May 27, 2005 1:41 PM
Subject: Re: Shopping Cart
On 5/27/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
Hi dear folks... I'm programming something like a shopping cart.
So, do u agree that the best way to store temporary beans is in the session
context??? Is it the right approach?
I changed the scope of the action mapping to session... But I saw that
reset method is called each time a method inside the action is called... I
work with dispatchaction..
--
R
On 5/27/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi dear folks... I'm programming something like a shopping cart. Do u know
> some way to do that? Or a site where I can find some sample code...
> I was thinking about to store beans in session context... But what about
> if the bean is so
12 matches
Mail list logo