scott
Aug 10th, 2007, 01:25 PM
I can understand the ModelAndView("/pages/test.jsp") will launch the test.jsp page.
1)Then what are the usage of the last two parameters: "testForm", testForm, as in the following:
TestForm testForm = new TestForm();
modelAndView = new ModelAndView("/pages/test.jsp", "testForm", testForm);
2) What are the differences between ModelAndView which is with only one parameter and the one with more than one parameters?
Thanks
Scott
1)Then what are the usage of the last two parameters: "testForm", testForm, as in the following:
TestForm testForm = new TestForm();
modelAndView = new ModelAndView("/pages/test.jsp", "testForm", testForm);
2) What are the differences between ModelAndView which is with only one parameter and the one with more than one parameters?
Thanks
Scott