- 博客(14)
- 资源 (19)
- 收藏
- 关注
原创 jsf的按钮不反应的几个可能问题
1. datatable 中的按钮 要使用session 或者 将entity里面的list转换成 dataColnum2. 可以维持managerBean的状态,否则无数据 ,不跳转3. 使用的变量要new entity() 否则有时候不提示null的错误,不跳转页面...
2010-06-01 17:25:37
294
原创 MyEclipse无法生成classes文件
1. properties属性里的 java compiler-->building-->abort build when build path errors occur 前面的勾去掉 2.properties属性里的 java build path productpath/WebRoot/WEB-INF/classes...
2010-06-01 17:22:38
235
1.The Struts dispatcher cannot be found. This is usually caused by using Struts
1.The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Strut 2.s tags are only usable when the request has passed through its servlet ...
2010-04-13 14:42:42
176
页面显示 按比例缩放 图片
原理是在页面载入完成后(onload触发)在客户端使用Javascript读取每张图片的大小并进行缩放。//将imageDest图片的大小按比例缩放,适合显示在宽W和高H的区域内function ResizeImage(imageDest, W, H){//显示框宽度W,高度H var image = new Image();image.src = imageDes...
2010-04-13 10:17:10
354
严重: A request has been denied as a potential CSRF attack.
crossDomainSessionSecurity false
2010-04-12 17:11:14
215
Could not find action or result
警告: Could not find action or resultThere is no Action mapped for namespace / and action name dwr. - [unknown location]at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:...
2010-04-12 16:43:54
141
dwr+jsf web配置
dwr-invoker org.directwebremoting.servlet.DwrServlet debug true crossDomainSessionSecurity true allowScriptTagRemoting true ...
2010-04-12 15:46:57
126
extTree
YUI.ext中的Tree组件可以用来在页面实现树型布局的效果,包括常见的树型菜单等,那么我们怎样才能生成一个Tree呢,主要有以下四个步骤;1.定义一个Tree对象:var tree = new Ext.tree.TreePanel('tree', { animate:true, loader: new Ext...
2010-04-12 15:36:37
110
SQL语句性能调整
一、 索引(INDEX)使用的问题1. 索引(INDEX),用还是不用?这是个的问题。是全表扫描还是索引范围扫描主要考虑SQL的查询速度问题。这里主要关心读取的记录的数目。根据DONALD K .BURLESON的说法,使用索引范围扫描的原则是:对于数据有原始排序的表,读取少于表记录数40%的查询应该使用索引范围扫描。对读取多于表记录数40%的查询应全表扫描。对于未...
2010-04-12 15:32:49
93
dwr配置 jsf.spring.Bean
详细见: http://hi.baidu.com/nieweiguo/blog/item/52d4c1fd66413b46d6887d04.html
2010-04-12 15:29:32
133
使用sql返回的list<Object> 转成需要的实体对象
需要将Query对象setResultTransformer:List list = session.createSQLQuery(sql) .setResultTransformer( Transformers.ALIAS_TO_ENTITY_MAP) .list();//此时,每个Object可以转换成一个MapMap ma...
2010-04-12 15:09:29
549
hql 的 count(*)
使用hibernate session:String hql = "select count(*) from Category c where c.parent = 1"; Query q = session.createQuery(sql); System.out.println(q.uniqueResult());如果sql使用出错:String sql = "...
2010-04-12 14:59:54
187
启动tomcat 的 struts2 错误
严重: Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/F:/Struts2/Struts2/WebRoot/WEB-INF/lib/struts2-core-2.1.2.jar!/struts-default.xml:46:178 at com.opensymphony....
2010-04-05 12:47:19
137
ttc_tools.zip
2021-06-10
gitlab-runner-windows-amd64.exe
2021-06-08
UnxUtils.zip
2021-06-08
eclipse-scala-plugin插件
2017-11-14
hadoop工具 winutil.exe下载
2017-11-14
VisualSVN Server(svn服务端工具)
2017-10-31
硬盘检测工具 4.60
2012-03-23
hibernate源码
2010-03-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人