摘要: 来源 https://www.cnblogs.com/del88/p/6286887.html IDEA根据maven archetype的本质,其实是执行mvn archetype:generate命令,该命令执行时,需要指定一个archetype-catalog.xml文件。 该命令的参数-Da 阅读全文
posted @ 2019-10-23 17:50 kangjie 阅读(2862) 评论(0) 推荐(0) 编辑
摘要: SpringMVC默认使用MappingJacksonHttpMessageConverter对json数据进行转换 使用@ResponseBody注解实现将Controller方法返回对象转换json响应给客户端。 文件上传 第一种方式:使用commons-fileupload组件实现文件上传,需 阅读全文
posted @ 2019-10-23 17:46 kangjie 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 在菜单栏找到”run->editconfigration” 找到”server”选项卡 设置 vm option为 -Dfile.encoding=utf-8 阅读全文
posted @ 2019-10-23 16:56 kangjie 阅读(367) 评论(0) 推荐(0) 编辑