摘要: 1.找到该xml中dtd的位置 2.按住ctrl键,将鼠标移到 3.左键点击浏览器打开,然后下载保存到本地 4.接着进入windows》preferences》XML》XML Catalog,添加该dtd文件 阅读全文
posted @ 2017-03-27 16:58 xiaohongxin 阅读(4059) 评论(0) 推荐(0) 编辑
摘要: 1.添加jakson包支持 2.springmvc.xml中配置bean 3.User.java 4.Controller.java 5.json.jsp页面 阅读全文
posted @ 2017-03-08 22:05 xiaohongxin 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1.首先,使用jquery实现ajak,需导入jquery.js 2.ajax.jsp页面代码 3.Controller.java 阅读全文
posted @ 2017-03-08 21:55 xiaohongxin 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1.首先需要导包 2.配置multipart (file upload) support bean的id名必须是multipartResolver,否则会无效 3.upload.jsp页面 4.编写Conroller.java 阅读全文
posted @ 2017-03-08 21:48 xiaohongxin 阅读(155) 评论(0) 推荐(0) 编辑
摘要: RESTful 优点:轻量级,安全,效率高 Controller.java 浏览器访问 显示 阅读全文
posted @ 2017-03-07 21:32 xiaohongxin 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 配置web.xml即可 阅读全文
posted @ 2017-03-07 21:28 xiaohongxin 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Controller.java springmvc.xml配置 略(配置视图解析器) 阅读全文
posted @ 2017-03-07 20:24 xiaohongxin 阅读(3029) 评论(0) 推荐(0) 编辑
摘要: Controller.java代码: springmvc.xml配置 阅读全文
posted @ 2017-03-07 20:21 xiaohongxin 阅读(532) 评论(0) 推荐(0) 编辑