- 浏览: 105683 次
- 性别:
- 来自: 上海
最新评论
-
zhexiaode:
感谢了 学习了
基于jQuery开发的javascript模板引擎-jTemplates -
osacar:
难道就是GT-GRID??两者是什么关系啊?
Sigma Grid 研究及使用 -
osacar:
这个跟GT-GRID很像啊。
Sigma Grid 研究及使用 -
fxiaozj:
怎么打印功能没用了
Sigma Grid 研究及使用 -
www_whq:
不是很了解,谢谢分享
Sigma Grid 研究及使用
文章列表
此功能在原有的基础上增加了table列表的动态刷新显示
jquery.js 版本:1.2.6
下面给出一个简单的例子来说明使用方法
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
[color=YellowGreen]<!-- 引入所需的JS库 -->[/color]
<script type="text ...
- 2009-08-21 13:53
- 浏览 3777
- 评论(0)
[b][/b]KvaTree 的官方站点:http://www.kvaq.sk/en/kvatree-jquery-plugin.html
Version:
Jquery.js – jQuery library v1.2.6 (full, not packed)
Jquery-ui-personalized-1.5.3.min.js – jQuery UI v1.5.3 (ui.core,ui.draggable,ui.droppable)
kvaTree.js – kvaTree js file (full, not packed)
kvaTree.min.js – kvaTr ...
- 2009-08-21 13:44
- 浏览 2225
- 评论(0)
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop>
<prop key="hibernate.show_sql">true</prop>
...
- 2009-08-17 21:42
- 浏览 4601
- 评论(0)
很多人对二级缓存都不太了解,或者是有错误的认识,我一直想写一篇文章介绍一下hibernate的二级缓存的,今天终于忍不住了。
我的经验主要来自hibernate2.1版本,基本原理和3.0、3.1是一样的,请原谅我的顽固不化。
hibernate的session提供了一级缓存,每个session,对同一个id进行两次load,不会发送两条sql给数据库,但是session关闭的时候,一级缓存就失效了。
二级缓存是SessionFactory级别的全局缓存,它底下可以使用不同的缓存类库,比如ehcache、oscache等,需要设置hibernate.cache.provider_cla ...
- 2009-08-17 16:56
- 浏览 515
- 评论(0)
Hibernate二级缓存也称为进程级的缓存或SessionFactory级的缓存。二级缓存是全局缓存,它可以被所有的session共享。二级缓存的生命周期和SessionFactory的生命周期一致,SessionFactory可以管理二级缓存。
二级缓存的配置使用:
1.在crc下 ...
- 2009-08-17 16:55
- 浏览 1459
- 评论(0)
Hibernate 正确的查询及优化方法
执行数据查询功能的基本方法有两种:一种是得到单个持久化对象的get()方法和load()方法,另一种是Query对象的list()方法和iterator()方法。
get()方法和load()方法的区别在于对二级缓存的 ...
- 2009-08-06 11:02
- 浏览 823
- 评论(0)
错误信息:The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: E:\_PortableJava\JDK1
.6.0\bin;.;D:\WINDOWS\Sun\Java\bin;D:\WINDOWS\system32;D:\WINDOWS;
解决办法:
下载tcnative-1.dll并复制到Windows/system32下 重启TOMCAT6:
http://apache.fr ...
- 2009-07-27 11:28
- 浏览 7549
- 评论(1)
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:*' did not find a matching property.
1.如果你是用apache-tomcat-6.0.14以上版本的web server,请降级到apache-tomcat-6.0.14
下载地址:http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.10/bin/
2.如果你在新建项目时, ...
- 2009-07-27 11:15
- 浏览 1313
- 评论(0)
XML国际化的配置
代码:
<constant name="struts.custom.i18n.resources" value="message" />
为了避免struts.xml文件过于庞大,臃肿提高struts.xml的可读性,我们将struts.xml配置文件分解成多个文件,struts.xml包含分解文件
代码:
<include file="struts-part1.xml" />
ActionSupport基类返回值:
ERROR、NONE、INPUT、LOGIN、SUCCESS
Acti ...
- 2009-07-05 21:45
- 浏览 1058
- 评论(0)
日期相减: year, month, day, hour, minute, second
带入:参数1 DateDiff(参数1,时间1,时间2) 期函数 getdate()
得到当前时间,可以设置得到各种时间格式.
datepart(日期部分,日期) 取指定时间的某一个部分,年月天时分秒.
datediff(日期部分,日期1,日期2) 计算指定的日期1和日期2的时间差多少.
dateadd(日期部分,数值表达式,日期) 计算指定时间,再加上表达式指定的时间长度.
--取时间的某一个部分
select datepart(yy,getdate()) --year
select da ...
- 2009-06-26 16:18
- 浏览 2893
- 评论(0)
设置的方法:
//查询出来的所有学生
List allStudents = null ;
Map> map = new HashMap>();
for(Student student : allStudents)
{
if(map.containsKey(student.getGroupNo()))
{
List students = map.get(student.getGroupNo());
students.add(student);
}
els ...
- 2009-06-22 16:21
- 浏览 2580
- 评论(0)
<property name="connection.username">root</property>
<property name="connection.url">jdbc:mysql://localhost/mysql?user=root&useUnicode=true&characterEncoding=gb2312</property>
<property name="dialect">org.hibernate.diale ...
- 2009-06-15 19:16
- 浏览 1319
- 评论(0)
免安装版Mysql5现在主要有两个版本,mysql-noinstall-5.1.6(win32)和MySQL-5.1.5-alpha(win),都可以在本站下载到
mysql-noinstall-5.1.6(win32)下载地址:http://download.mysql.cn/src/2006/0302/205.html
MySQL-5.1.5-alpha(win)下载地址:http://download.mysql.cn/src/2006/0213/1 ...
- 2009-06-09 20:13
- 浏览 3428
- 评论(0)