1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
知识点:
* ul li 中默认选择
class
=
"active"
* $(
"#firstLi"
).removeClass(
"active"
);
//去掉样式
$(
"#fourthLi"
).addClass(
"active"
);
//添加样式
* 字体加粗: <b>李建波</b>
* EL表达式jsp页面
double
小数点后保留两位
EL表达式jsp页面
double
小数点后保留两位,四舍五入
<fmt:formatNumber type=
"number"
value=
"${member.loginBonusAmount } "
maxFractionDigits=
"2"
/>
maxFractionDigits:保留几位小数
* 为什么input标签里面加入了<c:
if
test=
"${not empty project.id}"
>disabled=
"disabled"
</c:
if
> 就不能传递参数了。而用readOnly=
"readOnly"
就可以了。
*input标签只读 readonly=
"true"
或 disabled=
"disabled"
或 disabled=
"true"
* 序号
mySql中获取序列:
select (
@rowNO
:=
@rowNo
+
1
) AS rowno,project_name from (SELECT * FROM project ) a,(select
@rowNO
:=
0
) b
oracle中获取序列。
select rownum,c.* from CONFIG_INFO c ORDER BY c.id
标签移入时变成鼠标变成手形。
style=
"cursor:pointer;"
无序集: Set
有序集: List
所以,凡是实现set的AbstractSet, CopyOnWriteArraySet, EnumSet, HashSet, JobStateReasons, LinkedHashSet
都是无序的
凡是实现List的
AbstractList, AbstractSequentialList, ArrayList, AttributeList, CopyOnWriteArrayList, LinkedList, RoleList, RoleUnresolvedList, Stack, Vector
都是有序的
|
本文转自建波李 51CTO博客,原文链接:http://blog.51cto.com/jianboli/1925242,如需转载请自行联系原作者