使用 XML 反化时出现错误: public static TResult GetObjectFromXml(string xmlString) { TResult result; XmlSerializer serializer =...
分类:
其他好文 时间:
2014-08-21 12:55:04
阅读次数:
519
Hadoop HDFS文件常用操作及注意事项1.Copy a file from the local file system to HDFSThe srcFile variable needs to contain the full name (path + file name) of the fi...
分类:
其他好文 时间:
2014-08-21 12:50:04
阅读次数:
224
@Select("SELECT * FROM wc_homework WHERE organization_id=#{classId} ORDER BY createtime DESC LIMIT #{start},#{count}")
@Results({
@Result(column = "course_id", property = "course_id"...
分类:
其他好文 时间:
2014-08-21 00:12:43
阅读次数:
227
$(".b_slideToggle input").bind("blur",function(){
var result=$(this).attr("value").replace(/(^\s*)|(\s*$)/g, "");
$(this).attr("value",result);
});...
分类:
Web程序 时间:
2014-08-20 19:43:02
阅读次数:
744
Struts2 中result type属性说明首先看一下在struts-default.xml中对于result-type的定义:chain:用来处理Action链,被跳转的action中仍能获取上个页面的值,如request信息.dispatcher:用来转向页面,通常处理JSP.freemak...
分类:
其他好文 时间:
2014-08-20 19:35:32
阅读次数:
172
返回的JsonResult里面,定义ContentType="text/html" return new JsonResult() { ContentType = "text/html", Data = result };
分类:
Web程序 时间:
2014-08-20 19:31:52
阅读次数:
336
最近在把code改写成async+await的形式,发现有些情况下需要在finally中需要调用异步方法,但是编译器不允许在cache和finally中出现await关键字。。。但是用Wait()或者Result又会导致一些其他稀奇古怪的毛病(死锁啦,AggregateException啦。。。.....
分类:
其他好文 时间:
2014-08-20 15:47:52
阅读次数:
183
NSLog(@"平方:%.f", pow(3,2) );//result 9NSLog(@"上舍入:%.f", ceil(3.000000000001));//result 4NSLog(@"四舍五入:%.f",round(3.30));//result 3NSLog(@"下舍入:%0.f",flo...
分类:
其他好文 时间:
2014-08-20 15:44:22
阅读次数:
179
Apart out there ghd straightener australia primary reasons dryness may result out of excessive hair straightener ghd usage of chemicals on the hair. P...
分类:
其他好文 时间:
2014-08-20 15:39:32
阅读次数:
128
github地址:https://github.com/posabsolute/jQuery-Validation-Engine一个中文文档地址:http://code.ciaoca.com/jquery/validation_engine/普通的验证就不在说了,参考文档以及很明了了。这里写一个fi...
分类:
Web程序 时间:
2014-08-20 01:16:25
阅读次数:
292