
spring mvc
zhe哲
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jeect 上传文件
1.附件实体类中要有这3个属性 /**资料路径*/ private java.lang.String realpath; /**名称*/ private java.lang.String attachmenttitle; /**创建时间*/ private java.util.Date createDate; 2. jsp ,加入js,修改表单(回调),upload标签,回原创 2017-09-06 12:31:59 · 632 阅读 · 0 评论 -
Spring MVC报错"Content type 'application/x-www-form-urlencoded' not supported"怎么解决
试着调整你的@RequestMapping来接受JSON. 1 2 3 4 @RequestMapping( value="/save", method=RequestMethod.POST, consumes="application/json")转载 2017-09-12 14:51:51 · 9479 阅读 · 1 评论