Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_cn
Articles_pt
Articles_zh
CreateActions
CreateActions_pt
CreateActions_zh
SpringControllerUnit...
SpringControllers_ko
ValidationAndListSpr...
...and 1 more




JSPWiki v2.2.33

[RSS]


Hide Menu

SpringControllers


Difference between version 11 and version 10:

At line 52 added 7 lines.
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
At line 53 changed 1 line.
private static Log log = LogFactory.getLog(PersonFormControllerTest.class);
private static Log log = LogFactory.getLog(PersonFormControllerTest.class);
At line 58 changed 1 line.
protected void setUp() {
protected void setUp() throws Exception {
At line 61 changed 1 line.
c = (UserFormController) ctx.getBean("personFormController");
c = (PersonFormController) ctx.getBean("personFormController");
At line 172 changed 1 line.
!!Run the ControllerTest [#5]'
!!Run the FormControllerTest [#5]'
At line 174 changed 1 line.
Now, if you stop Tomcat, cd ../.. to the base directory and run __ant test-web -Dtestcase=PersonController__, you should get a success message from Ant.
Now, if you stop Tomcat, save everything, cd ../.. to the base directory and run __ant test-web -Dtestcase=PersonFormController__, you should get a success message from Ant.

Back to SpringControllers, or to the Page History.