From: "Troy Bull" <[EMAIL PROTECTED]>
public ActionForward execute( ... ) {
SearchForm s = (SearchForm) form;
String dispatchString = s.getDispatch();
System.out.println("Main Dispatch String : " + dispatchString);
// manually dispatching works but is ugly
//if ("run_main_search".equals(dispatchString)) { return
runMainSearch(mapping, form, request, response);}
//if ("save_defaults".equals(dispatchString)) { return
setAsDefaults(mapping, form, request, response);}
return mapping.findForward("error");
}
public ActionForward runMainSearch(... ) { ... }
I still think you're overriding 'execute' and never calling
super.execute(...) to give DispatchAction a chance to do its job.
Does it work if you remove the 'execute' method entirely from your
DoSearchAction (and fix the 'dispatch' param value so it matches the method
name)?
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]