aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using Arrays Problem" Watch "Using Arrays Problem" New topic
Author

Using Arrays Problem

Paola Orsini L
Greenhorn

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.

ProductsForm:


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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Using Arrays Problem