`
marscom
  • 浏览: 28323 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
// 对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") ==> 2006-7-2 ...
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
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 true; ...
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是指在做计算处理时的增加、查询(重新得到数据)、更新和删除几个单词的首字母简写。主要被用在描述软件系统中数据库或者持久层的基本操作功能。
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 r ...
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]*");
在JSP的开发中,迭代是经常要使用到的操作。例如,逐行的显示查询的结果等。在早期的JSP中,通常使用Scriptlets来实现Iterator或者Enumeration对象的迭代输出。现在,通过JSTL的迭代标签可以在很大的程度上简化迭代操作。       ...
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 ...
Global site tag (gtag.js) - Google Analytics