(1)最近在学struts,找到一个struts-config.xml的配置说明,分享给大家:
是struts的根元素,它主要有8个子元素,DTD定义如下:
<!ELEMENT struts-config
(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controlle...
分类:
其他好文 时间:
2014-09-22 09:37:56
阅读次数:
284
jQuery.data() 的作用是为普通对象或 DOM Element 附加(及获取)数据。 下面将分三个部分分析其实现方式: 1. 用name和value为对象附加数据;即传入三个参数,第一个参数为需要附加数据的对象,第二个参数为数据的名称,第三个参数为数据的值。当然,只是获取值的话,也可以不传...
分类:
Web程序 时间:
2014-09-21 19:57:21
阅读次数:
309
Remove Duplicates from Sorted Array IGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new len...
分类:
其他好文 时间:
2014-09-21 14:50:00
阅读次数:
209
题目:
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i...
分类:
其他好文 时间:
2014-09-21 03:10:29
阅读次数:
265
我们常用的script标签,有两个和性能、js文件下载执行相关的属性:defer和asyncdefer的含义【摘自https://developer.mozilla.org/En/HTML/Element/Script】This Boolean attribute is set to indicat...
分类:
其他好文 时间:
2014-09-20 20:58:29
阅读次数:
386
引用:http://www.cnblogs.com/paisen/p/3310395.html
分类:
编程语言 时间:
2014-09-20 18:39:19
阅读次数:
1907
[leetcode]Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place....
分类:
其他好文 时间:
2014-09-19 10:10:15
阅读次数:
200
在最近的Web课程设计上我接触到了Selenium这款Web自动化测试工具,它可以通过一系列find_element()方法定位到目标元素,对其发送模拟按键操作,使操作自动化。...
分类:
Web程序 时间:
2014-09-19 01:14:24
阅读次数:
237
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime compl....
分类:
其他好文 时间:
2014-09-18 23:33:14
阅读次数:
292
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2014-09-18 22:12:44
阅读次数:
157