|
|
|
@ -5,14 +5,9 @@ import org.springframework.stereotype.Controller;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
|
@RequestMapping("testFC")
|
|
|
|
|
public class FirstController {
|
|
|
|
|
@RequestMapping("object")
|
|
|
|
|
public String hello(Cate cate) {
|
|
|
|
|
System.out.println("cateid:"+cate.getCateid());
|
|
|
|
|
System.out.println("catename:"+cate.getCatename());
|
|
|
|
|
System.out.println("addtime:"+cate.getAddtime());
|
|
|
|
|
System.out.println("memo:"+cate.getMemo());
|
|
|
|
|
@RequestMapping("hello")
|
|
|
|
|
public String hello() {
|
|
|
|
|
return "showFirst";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|