Hey Dan, 

I've run into the same thing, 
what if no "?action=" (parameter) is passed, 
I get: 
Request[/consultant] does not contain handler parameter named action.
I tried having an
public ActionForward unspecified(ActionMapping mapping, ... );
but it didn't seem to work. do I also need a null mapping as in:

  protected Map getKeyMethodMap() {
      Map map = new HashMap();
      map.put("button.edit", "edit");
      map.put("button.delete", "delete");
      map.put("", "unspecified");
      return map;
  }

?? or something else?

Thanks
-Rand

-----Original Message-----
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 10:22 AM
To: Struts-User List
Subject: Re: Dispatch Action quicky


> Okay, so what happens when it can't find a method with the name from
> the paramater?  I would anticipate that at this point it would just
> run the execute() method.

Answered my own question, unspecified()  Kick myself for not doing
more research before posing that question.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
'One Microsoft Way' is more than just an address.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

---------------------------------------------------------------------
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]

Reply via email to