Here's the message that I receive:
---
10:17:29,172 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: Action[/postRespondentFormAction] missing resource 'addMemory' in key method map
---
Here is the excerpt from Application.resources:
--- button.respondent.add.memory = continue to protective order ---
Here is the excerpt from struts-config.xml:
--- <action path="/postRespondentFormAction" type="com.appriss.vpo.web.struts.protectiveOrder.RespondentFormAction" name="respondentForm" scope="request" validate="true" parameter="methodToCall" input="/tiles2-new-respondent.do"> <forward name="continue" path="/home.do" /> </action> ---
My RespondentFormAction class extends the LookupDispatchAction class and has the addMemory method:
---
public ActionForward addMemory(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ... }
---
I also populate the map as such:
--- protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("button.pp.add", "add"); map.put("button.respondent.add.memory", "addMemory");
return map; } ---
Funny thing is is that I have other LookupDispatchActions working correctly in other places. I don't know what I'm overlooking and doing differently with this one.
Any suggestions?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]