Hi

The output doesn't even print out the "nextController" in the method
which I inserted..

Thanks

------------------
JSP
------------------


                <html:submit value="Reset" property="action"/>
                <html:submit property="action" value="Next">
                  <bean:message key="button.next"/>
                </html:submit>
<html:hidden property="page" value="createproject"/>

-----------------------
Action
-----------------------


public class CreateNewProjectAction extends DispatchLookupAction {
        public CreateNewProjectAction() {
        }

        protected Map getKeyMethodMap() {
  System.out.println("getKeyMethodMap");
                Map map = new HashMap();
                map.put("button.next", "nextController");
                return map;
        }

        public ActionForward nextController(ActionMapping mapping, ActionForm
form,
                        HttpServletRequest request, HttpServletResponse response)
                        throws IOException, ServletException, SystemException {
    System.out.println("nextController");
                ActionForward actionForward = null;
                String page = (String) request.getParameter("page");
    System.out.println("Page in nextController : " + page);
                if (page.equals("createproject")) {
                        actionForward = nextFromCreateProject(mapping, form, request,
                                        response);
                } else if (page.equals("createexperiment")) {
                        actionForward = nextFromCreateExperiment(mapping, form, 
request,
                                        response);
                }
                return actionForward;

}



On Tue, 2004-09-21 at 11:05, Jitender K Chukkavenkata wrote:
> Which part of your code generated this? Can I have a look over it?
> 
> Thanks,
> Jitender Kumar C.V.


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

Reply via email to