Fork me on GitHub
摘要: 使用Calendar类代表当前时间: Calendar c = Calendar.getInstance();由于Calendar类是抽象类,且Calendar类的构造方法是protected的,所以无法使用Calendar类的构造方法来创建对象,API中提供了getInstance方法用来创建对象 阅读全文
posted @ 2017-01-15 22:00 cosyer 阅读(183) 评论(0) 推荐(0)
摘要: HTTP POST表单请求提交时:Content-Typeapplication/x-www-form-urlencoded,而使用原生AJAX的POST请求如果不指定请求头RequestHeader,默认使用的Content-Type是text/plain;charset=UTF-8。 表单提交数 阅读全文
posted @ 2017-01-15 21:57 cosyer 阅读(3559) 评论(0) 推荐(0)