Easily done; just grab them using getParameter on the request object
that's passed to your execute method.  If you want to be a little
slicker, you can also override the request processor to populate your
form in a special way.

-----Original Message-----
From: Andy Engle [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 30, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: Handling parameters not in a form bean


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]


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

Reply via email to