You didn't provide your unspecified method code below. Provide that please. nitin dubey wrote the following on 3/28/2005 9:35 AM: > Thanks Saulo for your reply, here is the code for > config and html:form > > struts-config.xml > ~~~~~~~~~~~~~~~~~ > > type="com.imc.startec.web.form.CommonForm" /> > type="com.imc.startec.web.form.DummyForm" /> > > > > name="commonForm" > parameter="dispatch" > scope="session" > input="/admin/Main.jsp" > > type="com.imc.startec.web.processor.MainAction" > > /> > > > > > Main.jsp > ~~~~~~~~ > type="com.imc.startec.web.form.CommonForm"> > > > > > Regards, > > > Nitin Dubey > > --- Eugênio Saulo wrote: > >>Check your definition and >>the definition of >>the it uses. >>Maybe if you paste it here we could help you. >> >>Regards, >>Eugênio Saulo >> >> >>On Mon, 28 Mar 2005 01:39:21 -0800 (PST), nitin >>dubey >> wrote: >> >>>Hello, >>> >>>I am using DispatchAction for my application. >> >>When I >> >>>use the URL >>>"http://localhost:8080/myapp/admin/main.do" it >>>directly hits the unspecified() method first where >> >>I >> >>>am trying to populate the action form. The >> >>ActionForm >> >>>object I am getting in the unspecified() method is >>>null always. >>> >>>Anyone who can tell me why is this happening ? >> >>And >> >>>can I use the action form itself to store some >>>different values that are NOT the controls in HTML >> >>and >> >>>access them in the JSP to display the contents ? >> >>OR >> >>>do I have to go for something like domain objects >> >>that >> >>>I have to put in the session scope and access them >> >>in >> >>>JSP ? >>> >>>Please suggest.. >>> >>>Regards, >>> >>>Nitin Dubey >>> >>>__________________________________ >>>Do you Yahoo!? >>>Yahoo! Mail - 250MB free storage. Do more. Manage >> >>less. >> >>>http://info.mail.yahoo.com/mail_250 >>> >>> >> > --------------------------------------------------------------------- > >>>To unsubscribe, e-mail: >> >>user-unsubscribe@struts.apache.org >> >>>For additional commands, e-mail: >> >>user-help@struts.apache.org >> >>> >> > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: >>user-unsubscribe@struts.apache.org >>For additional commands, e-mail: >>user-help@struts.apache.org >> >> > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > -- Rick --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org