//本周周一日期,返回结果格式:2014-5-5 0:00:00public static
DateTime GetMondayDate(){ DateTime dt=DateTime.Now; int today=(int)dt.DayOfWeek;
if(dt.DayOfWeek.Tost...
分类:
Web程序 时间:
2014-05-08 18:37:12
阅读次数:
367
1.一般输入信息的提示用 属性为text2.只有设置了 name
属性的表单元素才能在提交表单时传递它们的值。3.blur 失去焦点4.$.trim()用于去掉字符串首尾的空白字符。
分类:
Web程序 时间:
2014-05-08 18:33:17
阅读次数:
281
transient是Java语言的关键字,用来表示一个域不是该对象串行化的一部分。当一个对象被串行化的时候,transient型变量的值不包括在串行化的表示中,然而非transient型的变量是被包括进去的。这样对象的size就会小一些,相对占用的网络资源就会小。
分类:
编程语言 时间:
2014-05-08 18:19:38
阅读次数:
311
1.O(nlogk)海量数据 1 import java.util.TreeSet; 2 3
public class T030 { 4 public static void main(String[] args){ 5 int[] data =
{4,5,1,6,2,7,...
分类:
编程语言 时间:
2014-05-08 18:07:12
阅读次数:
422
1. 数组的引用传递public class TestArray { public static
void changeAry1(int[] ary){ int[] ary1 = {9,9,9}; ary = ary1; } public stat...
分类:
编程语言 时间:
2014-05-08 09:21:18
阅读次数:
370
先上源码: 1 using System; 2 using
System.Diagnostics; 3 using System.IO; 4 using System.IO.Compression; 5 using
System.Text; 6 7 namespace TestCompress 8....
分类:
其他好文 时间:
2014-05-08 07:04:16
阅读次数:
360
1. Abstract &
introductionref:http://static.googleusercontent.com/media/research.google.com/zh-CN//archive/spanner-osdi2012.pdfSpanner是google为了弥补bigta...
分类:
数据库 时间:
2014-05-08 06:46:57
阅读次数:
640
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Drawing;using System.IO;using System....
分类:
其他好文 时间:
2014-05-08 06:10:59
阅读次数:
395
每次操作select都要查资料,干脆总结一下。为select设置placeholder为Select添加事件,当选择其中一项时触发$("#select_id").change(function(){
//code...});jQuery获取Select选择的Text和Value:var che...
分类:
Web程序 时间:
2014-05-08 05:48:25
阅读次数:
509
第七讲:解析邮件内容
一、JavaMail解析邮件内容的流程
二、解析邮件内容
2.1 解析普通邮件内容
如果Message.getContentType方法返回的MIME类型为"text/*"则表示邮件内容为文本内容,此时直接调用Message.getContent方法把邮件内容保存了一个String对象中输出给浏览器即可。但是现实邮件中会有HTML格式的邮件内容时,邮件发送程序...
分类:
其他好文 时间:
2014-05-08 04:11:52
阅读次数:
850