Name of the String  and name of that HTML element should be same or getting the value in the action . Are you using the same name ???
SCWCD 1.4, SCJP 1.4
Theo van Loon
Joined: Feb 04, 2004
Ok situation now is as follows :
I have two action : one that initializes a shoppingcart and one dispatchaction that updates, deletes etc. In my form i have a map which contains key : product id and value is a String object containing the amount.
my form contains the following methods :
In my JSP i have the following code :
This works for displaying purposes. So it shows the correct amount. Question is though what can i do to update the amounts. When it reaches the action the map is null. Perhaps place the map in the request, but is it then possible to write to the given object using html:text tag.
Does anyone know how to deal with this issue??? [ February 28, 2005: Message edited by: Theo van Loon ]