1 Reply Latest reply: Aug 16, 2012 6:37 AM by 836153 RSS

    Action Mapping in Struts 1.1

    953871
      Dear sir/Madam
      I'm working simple project in Struts 1.1 i'm execute the project that time i got that Error.pl help me

      javax.servlet.ServletException: DispatchMapping[login] does not define a handler property
           org.apache.struts.actions.DispatchAction.getParameter(DispatchAction.java:325)
           org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
           org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
           org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
           org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
           org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        • 1. Re: Action Mapping in Struts 1.1
          836153
          Hello jeevas,
          I am using struts 1.1 for 2 years and I have came across such errors so many times.
          The reason for this is that you don't have a respective entry in your struts-config.xml file.
          Please check whether the action is defined in struts-config or not.
          Also Please define appropriate ActionForm if not already done.
          And be sure to have name of the field same as variable name in ActionForm.

          Regards,
          Parth