RE: Retrieve Form Values In Action Class

2005-03-17 Thread DGraham
Return Receipt Your RE: Retrieve Form Values In Action Class document

RE: Retrieve Form Values In Action Class

2005-03-17 Thread Okundaye, Derrick
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

Re: Retrieve Form Values In Action Class

2005-03-16 Thread Niall Pemberton
Cast the ActionForm either to a DynaActionForm or simply to a DynaBean...and then use the get(name) method. DynaBean dynaForm = (DynaBean)form; String myVal = (String)dynaForm.get("myVal"); Niall - Original Message - To: Sent: Wednesday, March 16, 2005 2:57 PM I have some forms where

Re: Retrieve Form Values In Action Class

2005-03-16 Thread Dakota Jack
Don't use ActionForm or in this case. Just get the data yourself from the request in the action. That way there is no object other than the request and the action. If you want to insinuate something else in there. They it has to be in there. If you have something in there, the ActionForm is r