Try String myVal = req.getParameter(myVal); or String myVal = form.getMyVal();
-----Original Message----- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 16 March 2005 14:58 To: user@struts.apache.org Subject: Retrieve Form Values In Action Class I have some forms where I only a couple of form field elements. So instead of creating a physical bean, I decided to try using the org.apache.struts.action.DynaActionForm. Anyway, all was good with validation, etc. But I ran into an issue when I tried to retrieve the values from my form in the ActionForm. When I used a bean I would just ask for the property by casting off to the bean. String myVal = ((com.myBean)form).getMyVal(); But I cannot figure out how to get the value when there is no physical bean. Anyone know how to get around this? Thanks Scott This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]