Andy, you can access form values by using request.getParameter("prod_1"); etc..

However, it sounds a simpler way would be to use an indexed property on your form bean. I have used these on web applications with spreadsheet-like input fields.

Andy Engle wrote:
Hi all,

I am wondering if there is a way that I can access submitted form
information in an action that may not be a member of any form bean? Do
name/value pairs submitted to an action *have* to be in a form bean? If they don't, how could they be accessed?


I have a situation where my application will have a bunch of input
fields, with names that begin with "prod_", and end with a number, like
"prod_12", "prod_20", and so on.  Putting all these "prod_"s in a huge
formbean would be a pain, and it would be easier to just grab them
directly.  But everything I try seems to fail.  Any suggestions would
be appreciated.


Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to