摘要:
设置了@RequestMapping("/jsp/info.do"),也可以写成"jsp/info.act"不影响retuen "index";suffix为".jsp"访问/jsp/info.doprefix为""时,会到web-inf下的jsp目录去找index.jspprefix为"test"... 阅读全文
摘要:
实体类:Student.javaJava代码packagedemo.entity;publicclassStudent{privateintid;privateStringname;privateStringsex;privateStringaddress;publicintgetId(){retu... 阅读全文