This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes Using Arrays Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using Arrays Problem" Watch "Using Arrays Problem" New topic

Using Arrays Problem

Paola Orsini L

Joined: Jan 12, 2009
Posts: 4
Hi I having problems in getting back the values of the users.
I have a shopping cart that display and I have an array with the quantities, to be display and can be edited by the user, I can display the content but I can not get the values enter for the user, can anyone help.


Action to set the values

in the jsp:

So I hava a javascript function that change the value of quant[] each time the value cant has change but when I sumit the form i can not retrieve this values, even I tried without the javascript and its the same

I have session scope in my struts-config.xml action
I agree. Here's the link:
subject: Using Arrays Problem
jQuery in Action, 3rd edition