From: "Troy Bull" <[EMAIL PROTECTED]>

The problem is my dispatch parameter is not being recognized.  I have
the following code in my ActionForward execute method:

  SearchForm s = (SearchForm) form;
  String dispatchString = (String) request.getAttribute("dispatch");

Try request.getParameter("dispatch"); instead if you want to see what was submitted with the form. (Request parameters are not the same as request attributes.) But it looks okay, because the form bean property was populated.

what I want is the method run_main_search to execute instead.

Java naming conventions would point to runMainSearch, but okay. :) Does your DoSearchAction extend DispatchAction? (You mention your "ActionForward" execute method-- typo?) If you've overridden the 'execute' method to print debugging statements, are you calling super.execute(...)?

--
Wendy Smoak




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to