File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!