// 对Date的扩展,将 Date 转化为指定格式的String
// 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符,
// 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字)
// 例子:
// (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423
// (new Date()).Format("yyyy-M-d h:m:s.S") ==> 200 ...
- 11:47
- 浏览 (102)
- 评论 (0)
http://www.gridshore.nl/blog/index.php?/archives/52-Creating-an-autocomplete-with-Spring-and-DWR.html
http://www.gridshore.nl/blog/index.php?/archives/29-Doing-ajax-with-ajaxtags-and-springframework.html
- 14:11
- 浏览 (121)
- 评论 (0)
function isTriDecimal(value){
if(value!=null&&value!=''){
var decimalIndex=value.indexOf('.');
if(decimalIndex=='-1'){
return false;
}else{
var decimalPart=value.substring(decimalIndex+1,value.length);
if(decimalPart.length>2){
return tr ...
- 18:02
- 浏览 (205)
- 评论 (0)
In computing, CRUD is an acronym for create, retrieve, update, and delete. It is used to refer to the basic functions of a database or persistence layer in a software system.
CRUD是指在做计算处理时的增加、查询(重新得到数据)、更新和删除几个单词的首字母简写。主要被用在描述软件系统中数据库或者持久层的基本操作功能。
- 16:26
- 浏览 (79)
- 评论 (0)
http://getahead.org/dwr/getstarted
Getting Started with DWR
There are 2 ways to get started with DWR, the easy way is to download the WAR file and have a look around, however this does not help you see how easily DWR integrates with your current web application, so the following 3 simple steps are ...
- 14:13
- 浏览 (90)
- 评论 (0)
http://www.yuanma.org/data/2007/0320/article_2429.htm
Map names = new HashMap();
Pattern pattern = Pattern.compile("[0-9]*");
Pattern letters_pattern = Pattern.compile("[^a-zA-Z]*");
- 14:36
- 浏览 (87)
- 评论 (0)
在JSP的开发中,迭代是经常要使用到的操作。例如,逐行的显示查询的结果等。在早期的JSP中,通常使用Scriptlets来实现Iterator或者Enumeration对象的迭代输出。现在,通过JSTL的迭代标签可以在很大的程度上简化迭代操作。
JSTL所支持的迭代标签有两个,分别是<c:forEach>和<c:forTokens>。在这里介绍的是<c:forEach>标签。
简单点说,<c:forEach>标签的作用就是迭代输出标签内部的内容。它既可以进行固定次数的迭代输出,也可以依据集合中对象的个数来决定迭代的次数。
...
- 14:29
- 浏览 (191)
- 评论 (1)
1.core_Tags
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="变量名" scope="page/session/request/application" value="值"/>
<c:set var="变量名" scope="page/session/request/application">值</c:set>
<c:remove var="变量名" scope="page/session/request/application"/>
< ...
- 14:16
- 浏览 (816)
- 评论 (0)
- 浏览: 1691 次
- 性别:

- 来自: 上海

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
<c:forEach>标签的使用
能不能写的详细一点啊,而且和在别的地方搜索到的长的一模一样,不知道是谁抄袭谁的, ...
-- by little fish






评论排行榜