Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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
subject: Using Arrays Problem
Similar Threads
Saving List Of Objects from JSP through Struts 1.3 Form Bean
How to retrieve the data from the database and display it on a jsp using struts
Indexed Setting/properties
JSP Radio button value retrieval
Getting Indexed properties