摘要: 1.jsp 页面 <form action="${pageContext.request.contextPath }/first.do" method="post"> 出生日期:<input name="birthday"/><br/><br/> 年龄:<input name="age"/><br/ 阅读全文
posted @ 2018-03-02 10:20 逆水乘舟,不进则退 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 接下来讲解一下 @RequestMapping 和@ResponseBody 和 @RequestBody和@PathVariable 注解 注解用法 @RequestMapping 为url映射路径 @ResponseBody 将数据以json数据返回ajax的回掉方法 @RequestBody 阅读全文
posted @ 2018-03-02 09:06 逆水乘舟,不进则退 阅读(1132) 评论(0) 推荐(0) 编辑