上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页

2016年12月6日

摘要: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-multipart 1、简介 Spring内置的multipart支持会处理web应用中的文件上传。你可以启用该支持 -- 通 阅读全文
posted @ 2016-12-06 22:52 LarryZeal 阅读(1778) 评论(0) 推荐(0) 编辑

2016年12月5日

摘要: 传上来只是为了记录下三种jsonp方式,$.get(url, callback)方式不行,会出错 -- 必须指明返回类型为”json”才行。 或者使用$.getJSON()或者$.ajax({})。 阅读全文
posted @ 2016-12-05 17:54 LarryZeal 阅读(3390) 评论(0) 推荐(0) 编辑
摘要: Linux中,所有命令都是小写(惯例),所以,建议环境变量都是大写。set可以查看所有变量,env可以查看环境变量。 后台运行:命令末尾加上 & 。 Shell编程: 所有变量默认都是字符串,如变量值带有空格,应使用双引号括起来(不能单引号)。注意,变量赋值=两边不能有空格,否则会被当成命令。 调用变量时,需要使用$前缀。--类似PHP,但定义时不需要。 重用变量时,如变量x调用自身:$x="$... 阅读全文
posted @ 2016-12-05 14:32 LarryZeal 阅读(183) 评论(0) 推荐(0) 编辑
摘要: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-themeresolver 做了一个小demo,放到了码云上,点我 1、概览 你可以应用Spring Web MVC框架the 阅读全文
posted @ 2016-12-05 10:15 LarryZeal 阅读(848) 评论(0) 推荐(0) 编辑

2016年12月4日

摘要: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-localeresolver Spring架构的多数部分都支持国际化,如同Spring Web MVC这样。Dispatche 阅读全文
posted @ 2016-12-04 22:41 LarryZeal 阅读(910) 评论(0) 推荐(0) 编辑
摘要: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-uri-building Spring MVC 提供了一种机制,可以构造和编码URI -- 使用UriComponentsBu 阅读全文
posted @ 2016-12-04 20:01 LarryZeal 阅读(8912) 评论(2) 推荐(1) 编辑

2016年12月3日

摘要: 接上一篇中的重定向。 http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-flash-attributes flash attributes提供了一种方式让一个请求保存attri 阅读全文
posted @ 2016-12-03 13:01 LarryZeal 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: 接前面的Spring 4 官方文档学习(十一)Web MVC 框架,那篇太长,故另起一篇。 针对web应用的所有的MVC框架,都会提供一种呈现views的方式。Spring提供了view resolvers,可以让你在浏览器中render model,而不必绑定到某种特定的view技术上。开箱即用, 阅读全文
posted @ 2016-12-03 11:45 LarryZeal 阅读(1367) 评论(0) 推荐(0) 编辑

2016年12月1日

摘要: 题外话:诸事缠身,不知不觉距离上一篇就将近一个月了,读书不易,学习不易,唯有坚持。 写来写去始终不满意,索性贴一个比较好的文章吧! 参考: 【Java基础】序列化与反序列化深入分析 阅读全文
posted @ 2016-12-01 21:23 LarryZeal 阅读(234) 评论(0) 推荐(0) 编辑

2016年11月6日

摘要: 发现对于HTTP协议不能脱口而出,故而怒翻资料,RFC2616 。 在其abstract中是这么说HTTP的,应用层协议,generic、无状态。其特点之一是 the typing and negotiation of data representation, allowing systems to be built independently of the data being transfer... 阅读全文
posted @ 2016-11-06 00:29 LarryZeal 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页

导航