java中结合struts2自定义标签的使用一、建立一个继承于SimpleTagSupport类实现它的doTag方法
1 package com.xiangshang.tag; 2 3 import java.io.IOException; 4 import
java.util.List; 5 ....
分类:
编程语言 时间:
2014-04-30 16:51:52
阅读次数:
619
这个没有什么截图,主要步骤如下: a.
安装python-2.7-x64版本(我的系统是win7-x64) b. 下载PyInstaller-2.1 x64版本 c. 下载pywin32-x64版本
d.下载upx.exe (这个在pyinstall官网上面会有提示) e.使用pythone set...
分类:
Windows程序 时间:
2014-04-30 16:28:49
阅读次数:
1037
原题地址:http://oj.leetcode.com/problems/sort-list/题意:链表的排序。要求:时间复杂度O(nlogn),空间复杂度O(1)。解题思路:由于题目对时间复杂度和空间复杂度要求比较高,所以查看了各种解法,最好的解法就是归并排序,由于链表在归并操作时并不需要像数组的...
分类:
编程语言 时间:
2014-04-30 15:09:41
阅读次数:
428
ubuntu12.04 64位下安装w3af:sudo apt-get install
w3af解决安装之后w3af_console不能运行的问题:运行w3af_console会提示如下错误:/usr/bin/w3af_console: 3:
/usr/bin/w3af_console: /usr/...
分类:
其他好文 时间:
2014-04-30 14:56:04
阅读次数:
569
1,inverse属性的作用:只有集合标记(set/map/list/array/bag)才有invers属性;以set为例,set的inverse属性决定是否把对set的改动反应到数据库中去,inverse=false(反应),inverse=true(不反应);默认值是false;one-to-...
分类:
系统相关 时间:
2014-04-30 13:21:33
阅读次数:
525
1 /// 2 /// 将集合转换成DataTable 3 /// 4 /// 集合 5 /// 6
public static DataTable ToDataTable(IList list) 7 ...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
321
//冒泡排序publicclassbubblesorter{publicvoidsort(int[]list){inti,j,temp;booldone=false;j=1;while((jlist[i+1]){done=false;temp=list[i];list[i]=list[i+1];li...
分类:
其他好文 时间:
2014-04-29 17:21:45
阅读次数:
429
参数URL:http://blog.csdn.net/qwiwuqo/article/details/8970621安装flask之前,你必须要先安装python和easy_install。安装
virtualenv,这个主要是用来做解释器环境隔离的,避免同一机器上的多个python或者多个pyth...
分类:
编程语言 时间:
2014-04-29 16:38:46
阅读次数:
446
原题地址:http://oj.leetcode.com/problems/3sum-closest/题意:数组中每三个元素进行求和,找出所有和中大小最接近target的和,并返回这个和与target之间的差值。解题思路:使用一个变量mindiff来监测和与target之间的差值,如果差值为0,直接返...
分类:
编程语言 时间:
2014-04-29 16:37:46
阅读次数:
432
JSONArray--------------->List----------------->Adapter------------------>ListView
分类:
Web程序 时间:
2014-04-29 16:34:46
阅读次数:
337