上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 55 下一页
摘要: @RequestMapping("queryUser5") public String queryUser5(String Userid,ModelMap modelMap) {// return "redirect:queryUser.ac... 阅读全文
posted @ 2017-04-15 11:43 2637282556 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 测试使用的类:public class User { private String name;// 姓名 private Integer age;// 年龄 public String getName() { return name; ... 阅读全文
posted @ 2017-04-15 11:39 2637282556 阅读(234) 评论(0) 推荐(0) 编辑
摘要: SpringMVC原理图 阅读全文
posted @ 2017-04-14 19:30 2637282556 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 模型: 1web.xml springMVC1 index.html index.htm index.jsp default.html default.htm default.jsp contextCo... 阅读全文
posted @ 2017-04-14 17:32 2637282556 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1.检查User类,发现注解的配置都没有错//实体User映射到表T_USER@Entity@Table(name="T_USER")public class User { @Id //数据库中的主键生成器,值为uuid @GeneratedValue(g... 阅读全文
posted @ 2017-04-14 01:47 2637282556 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Property ‘driverClassName’ threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [com... 阅读全文
posted @ 2017-04-13 20:05 2637282556 阅读(278) 评论(0) 推荐(0) 编辑
摘要: web.xml contextConfigLocation classpath*:config/springAnnotation-*.xml org.springframework.web.context.Cont... 阅读全文
posted @ 2017-04-13 18:34 2637282556 阅读(117) 评论(0) 推荐(0) 编辑
摘要: web.xml contextConfigLocation classpath*:config/springAnnotation-core.xml org.springframework.web.context... 阅读全文
posted @ 2017-04-13 17:17 2637282556 阅读(119) 评论(0) 推荐(0) 编辑
摘要: web.xml springMVC org.springframework.web.servlet.DispatcherServlet contextConfigLocation ... 阅读全文
posted @ 2017-04-13 10:55 2637282556 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.页面传递json数据,ajax传递 jsp 姓名: 年龄: controller@Controller@RequestMapping("/test/json")public class TestJson { @RequestMapping(... 阅读全文
posted @ 2017-04-13 00:51 2637282556 阅读(143) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 55 下一页