Hi Richard, Here is the action mapping from my struts-config file:
<form-bean name="addPFTActivityForm" type="websams.web.pft.AddPFTActivityForm"/> <action path="/pft/AddPFTActivity" type="websams.web.pft.AddPFTActivityAction" name="addPFTActivityForm" scope="request" validate="false" input="/jsp/pft/pftActivityDetail2.jsp" > <forward name="view" path="/jsp/pft/pftActivityDetail2.jsp"/> <forward name="add" path="/jsp/pft/pftActivityList.jsp"/> </action> I continue to get null action form from the action servlet. Regards On 5/23/06, Richard Yee <[EMAIL PROTECTED]> wrote:
Asif, Do you have a name attribute set in your action definition? The name attribute should be set to a form-bean name. Why don't you send your struts-config.xml file? -Richard Asif Saleem wrote: > Hi, > > I am starting to use struts for my project. I have a proble that the > action > servlet is always returning NULL ActionForm to the Action class. Note > that I > am using the struts 1.0 framework in which the ActionServlet instantiates > and populates the actionform. > > I have checked the struts-config.xml file many times and I see no problem > there. Kindly help me to figure out where else can the problem be. > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]