On 9/19/06, fea jabi <[EMAIL PROTECTED]> wrote:

public class DispatchAction extends LookupDispatchAction {

That's confusing... Struts already has a DispatchAction.

        protected Map getKeyMethodMap() {
                     Map map = new HashMap();
                     map.put("btn.calc", "calc");
                }

                public ActionForward calculate(ActionMapping mapping,

This doesn't match.  getKeyMethodMap should map property keys to method names.

http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/LookupDispatchAction.html

Do you have another method called 'calc'?

It's not clear that the 'calculate' method is even executing.

--
Wendy

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

Reply via email to