Thanks to all earnest responses. I still have a problem, but it has evolved a little. I have simplified the syntax (using husted tip 003), so that my jsp has:
<html:submit> <bean:message key="button.selectOrgs"/> </html:submit> (as he suggested, using the default name of submit that corresponds to the <html:submit> tag, and in my struts-config, I now have: <action path="/SupportOrgDispatchAction" type="com.hotapp.fes.presentation.support.action.FESSupportOrgDispatchAc tion" name="SupportOrgForm" parameter="submit"> <forward name="NextPage" path="/fes/jsp/FESSupportOrgTable.jsp"/> </action> and in my action I have: protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("button.selectOrgs", "selectOrgs"); return map; } But alas, I am still getting an error (below). I wonder if my resource bundled is not being read properly, because the button on the form appears with the tag syntax "<bean:message key" (obviously red flag something is wrong), rather than the value from the properties file. How can I check that the property button.selectOrgs is being found in the resource bundle, or, for that matter, that the resource bundle is being found at all? Thanks so much to all. javax.servlet.ServletException: Request[/SupportOrgDispatchAction] does not contain handler parameter named submit at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAct ion.java:199) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr ocessor.java:480) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193)...blah...blah > -----Original Message----- > From: Suzette Daniel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 4:19 PM > To: 'Struts Users Mailing List' > Subject: RE: LookupDispatchAction problem > > With LookupDispatch you don't have to use a hidden tag. I think the > problem > might be in your action itself. Look at Ted's > tip(http://husted.com/struts/tips/003.html) and below is a working sample. > > JSP: > <html:submit property="method" > titleKey="verify.order.add.another.button.title"> > <bean:message key="button.add" /> > </html:submit> > > Struts-config: > ...... > <action path="/doOrderVerification" name="monitorInfoForm" > input="/pages/verifyorder.jsp" parameter="method" > type="com.waca.nec.consumer.actions.StoreProductDispatchAction" > scope="session"> > <forward name="dontsaveproduct" path="/pages/choosemonitor.jsp"/> > <forward name="add" path="/pages/choosemonitor.jsp"/> > <forward name="checkout" path="/pages/contactinfo.jsp"/> > </action> > .... > > ACTION: > public class StoreProductDispatchAction extends LookupDispatchAction { > ........ > protected Map getKeyMethodMap() { > Map map = new HashMap(); > map.put("button.add", AppConstants.ACTION_KEY_ADD); > map.put("button.checkout", > AppConstants.ACTION_KEY_CHECK_OUT); > map.put("button.continue.shopping", > AppConstants.ACTION_KEY_DONT_SAVE); > return map; > } > > public ActionForward add(ActionMapping mapping, ActionForm form, > HttpServletRequest request, HttpServletResponse response) throws > IOException, ServletException { > //DO STUFF > return mapping.findForward(AppConstants.ACTION_KEY_ADD); > } > > public ActionForward checkout(ActionMapping mapping, ActionForm > form, HttpServletRequest request, HttpServletResponse response) throws > IOException, ServletException { > //DO STUFF > return > mapping.findForward(AppConstants.ACTION_KEY_CHECK_OUT); > } > > public ActionForward dontsaveproduct(ActionMapping mapping, > ActionForm form, HttpServletRequest request, HttpServletResponse response) > throws IOException, ServletException { > //DO STUFF > return > mapping.findForward(AppConstants.ACTION_KEY_DONT_SAVE); > } > > Suzette > > > -----Original Message----- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 4:01 PM > To: Struts Users Mailing List > Subject: Re: LookupDispatchAction problem > > > On Wed, Jul 23,'03 (03:44 PM GMT-0400), Tim wrote: > > > I am getting the following exception: > > > > SupportOrgDispatchAction] does not contain handler parameter named > > method > > > > For this actionmapping: > > > > <action path="/SupportOrgDispatchAction" > > > > type="com.hotapp.fes.presentation.support.action.FESSupportOrgDispatc > > hAc tion" > > name="SupportOrgForm" parameter="method"> > > <forward name="NextPage" path="/fes/jsp/FESSupportOrgTable.jsp"/> > > </action> > > > > against these tags in my jsp: > > > > <html:submit property="method" value=" Query "> > > <bean:message key="button.selectOrgs"> > > </html:submit> > > > > This is my first crack at subclassing the LookupDispatchAction. Any > > ideas as to what I am doing wrong are greatly appreciated. Thanks. > > > Are you sure you are passing in the form variable called "method" ? > Make sure on the form that submits you have at the least a hidden variable > called "method" ie.. > > <html:hidden property="method" value="updateOrWhatever"/> > > and then of course make sure the associated form has get/sets for "method" > > (side note: I like to use the parameter name "dispatch" instead of method, > although on my little tutorials I used the parameter "methodToCall" > thinking > that would help give the idea of what's going on, but that was probably > more > confusing). > > -- > Rick > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]