RE: DispatchAction nonexisting method

2008-03-06 Thread Griffith, Michael *
Hi Edward, Create a method for handling all the rest or unspecified actions, and delegate to your view: protected ActionForward unspecified(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

RE: DispatchAction nonexisting method

2008-03-06 Thread Edward Song
- From: Griffith, Michael * [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 4:15 PM To: Struts Users Mailing List Subject: RE: DispatchAction nonexisting method Hi Edward, Create a method for handling all the rest or unspecified actions, and delegate to your view: protected

Re: DispatchAction nonexisting method

2008-03-06 Thread Lukasz Lenart
Hi Subclass the DispatchAction and override getMethod() like below Method getMethodName() { Method method = super.getMethod(); if (method == null) { method = clazz.getMethod(unspecified, types); } return method; } Regards -- Lukasz