jsp上传文件,获取form表单type=file以外的数据
分类:
Web程序 时间:
2014-05-16 04:41:52
阅读次数:
446
1.获取当前时间:import java.text.SimpleDateFormat;
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy年MM月dd日 HH:mm:ss ...
分类:
移动开发 时间:
2014-05-16 03:16:24
阅读次数:
293
ES中的document是不可变的。如果想要修改一个已经存在的document只有替换他,如下:PUT
/website/blog/123{ "title":"My first blog entry", "text": "I am starting to get
the hang of this.....
分类:
其他好文 时间:
2014-05-16 01:07:04
阅读次数:
318
jquery对select下拉框的操作总结。。。1、通过索引值去设置select中的option的value和textvarindex=1;varval="该改为的值";$("#selectIdoption:eq("+index+")").attr("selected",true);$("#selectIdoption:selected").val(val);$("#selectIdoption:selected").text(val);
分类:
Web程序 时间:
2014-05-15 19:00:51
阅读次数:
314
display: block;inline;none;inline-block;段落缩进
text-indent:20pxfont: font-style font-weight font-size line-height
font-familyfamily: "xxx","xxxx","xxxxx...
分类:
Web程序 时间:
2014-05-15 17:52:29
阅读次数:
380
/// /// 信息写入记事本 /// /// /// public static void
Write(string text, string path) { try { DateTime newDat...
分类:
其他好文 时间:
2014-05-15 17:51:53
阅读次数:
262
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6
using System.Security....
分类:
其他好文 时间:
2014-05-15 17:20:45
阅读次数:
329
工作中,用WinForm写了一段程序,刚开始运行正常,后来替换为公司框架的时候,发现原来用Label拼的表格控件,里面的Text无法显示,后来发现,父控件的ForColor为Control导致,子空间的ForColor也是而无法显示。
如果你仅仅是要检查一个document是否存在,而对document的内容不感兴趣,你可以使用HEAD进行查询curl -i -XHEAD
/website/blog/123如果document存在将会返回如下数据:HTTP/1.1200 OKContent-Type: text/plain;
ch...
分类:
其他好文 时间:
2014-05-15 17:07:40
阅读次数:
293
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187