@Test public void testView() throws Exception { ActionProxy proxy = getActionProxy("/view"); String result = proxy.execute(); assertEquals("success", result); System.out.println(response.getContentAsString()); }
public String view() { id = "11"; name = "test-11"; return SUCCESS; }
MyAction extends ActionSupport { public String view() { id = "11"; name = "test-11"; return SUCCESS; } }
MyAction extends ActionSupport { public String view() { id = "11"; name = "test-11"; return SUCCESS; }  }
MyAction extends ActionSupport { public String view() { id = "11"; name = "test-11"; return SUCCESS; }  String getId(); void setId(String id); String getName(); void setName(String name); String view(); String save(); }
MyAction extends ActionSupport { public String view() { id = "11"; name = "test-11"; return SUCCESS; }  String getId(); void setId(String id); String getName(); void setName(String name); String view(); String save(); static final Logger LOG; }