上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 49 下一页
摘要: 原文地址:http://www.stepday.com/topic/?459 作文一个ExtJs的入门汉子,学习起来的确是比较费劲的事情,不过如今在这样一个网络资源如此丰富的时代,依然不是那么难了的。基本上都是Copy过来加以部分改造即可实现自己想要的功能,加之如今的第三方开发者也大发慈悲地写出了A 阅读全文
posted @ 2016-04-15 17:04 dirgo 阅读(5783) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/zczzsq/article/details/16803349 本实例做的是读取execl(只能读取.xls的execl,即只能读取03版的),如果是.xlsx类型的话 手工转化一下即可,应用的jar包是apache的poi系类的jar包和ojdb 阅读全文
posted @ 2016-04-15 15:55 dirgo 阅读(790) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/mgoann/article/details/7239492 Debug视图 认识debug视图,红色部分框为线程堆栈视图,黄色部分框为表达式、断点、变量视图,蓝色部分为代码视图。 线程堆栈视图 分别介绍一下这几个按钮的含义: 1.表示当前实现继续 阅读全文
posted @ 2016-04-15 15:53 dirgo 阅读(1263) 评论(0) 推荐(0)
摘要: 当然需要先用try catch捕获,但注意new Exception("")括号里的字符串其实是异常原因,所以获取是要用ex.getCause().getMessage() 阅读全文
posted @ 2016-04-11 16:57 dirgo 阅读(71519) 评论(0) 推荐(2)
摘要: 原文地址:http://blog.csdn.net/hongleidy5000/article/details/7329325 [javascript] view plain copy if (!formDetail.getForm().isValid()) { msg("警告", "请填写必要信息 阅读全文
posted @ 2016-04-11 16:49 dirgo 阅读(308) 评论(0) 推荐(0)
摘要: 其实只要在表格控制中添加一句 <td style="word-break:break-all">就搞定了。 其中可能对英文换行可能会分开一个单词问题:解决如下: 语法: word-break : normal | break-all | keep-all 参数: normal : 依照亚洲语言和非亚 阅读全文
posted @ 2016-04-07 10:15 dirgo 阅读(877) 评论(0) 推荐(0)
摘要: 原文地址:http://www.devnote.cn/article/82.html 基本原则是:每次提交前需要先和线上的对比,先把冲突解决掉,然后把线上的更新到本地,最后把本地的提交上去。 阅读全文
posted @ 2016-04-05 13:42 dirgo 阅读(179) 评论(0) 推荐(0)
摘要: 为了方便写JSP,我们引入了EL和JSTL表达式 EL表示类似:<%=request.getAttribute("info")%> JSTL类似: <table border=1> <tr><td>ID</td><td>用户名</td><td>密码</td></tr> <c:forEach item 阅读全文
posted @ 2016-03-24 16:09 dirgo 阅读(459) 评论(0) 推荐(0)
摘要: 原文地址:http://outofmemory.cn/java/OutOfMemoryError/outofmemoryerror-permgen-space-in-tomcat-with-eclipse 有的项目引用了太多的jar包,或者反射生成了太多的类,异或有太多的常量池,就有可能会报java 阅读全文
posted @ 2016-03-23 13:17 dirgo 阅读(255) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.sina.com.cn/s/blog_67cc6e7d0100ox6u.html ExtJS中,一般很少需要遍历Store,因为它的selectModel很好用,无论是单行选择还是checkbox的多行选择,都可以根据Grid的 XXXGrid.getSelecti 阅读全文
posted @ 2016-03-22 10:32 dirgo 阅读(658) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/liuguxing/article/details/8623190 编辑数据的时候需要默认选中某一项,可编写函数 需要注意的是,在调用App.selectComboBox之前,必须先调用comboBox.getStore().load(); 加载数 阅读全文
posted @ 2016-03-22 09:39 dirgo 阅读(1377) 评论(0) 推荐(0)
摘要: renderer可以格式化该列显示的数据格式或者按照你自定义的脚本显示最终数据样子,个人是这么理解,如果你不是可以看下本文 复制代码 代码如下: var cm = new Ext.grid.ColumnModel( [ new Ext.grid.RowNumberer({ header: "", w 阅读全文
posted @ 2016-03-21 14:03 dirgo 阅读(2187) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/loveme123/archive/2012/05/10/2494466.html 1、 配置combo: { columnWidth: .3, layout: 'form', border: false, items: [{ id: "txt 阅读全文
posted @ 2016-03-21 10:38 dirgo 阅读(421) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/timy/archive/2010/08/13/1799111.html 根据我在EXT论坛上的观察,xtype用起来的时候疑惑会比较多。甚至有些人根本忽略xtype,或者不清楚它是什么。所以我决定阐述一下这个xtype的概念。 xtype就是 阅读全文
posted @ 2016-03-21 10:21 dirgo 阅读(2188) 评论(0) 推荐(0)
摘要: 众所周知,默认条件下,在浏览器输入indexAction!execute.action,便会执行indexAction类里的execute方法,这样虽然方便,但可能带来安全隐患,通过url可以执行Action中的任意方法。 </action> </package> 阅读全文
posted @ 2016-03-18 12:19 dirgo 阅读(248) 评论(0) 推荐(0)
摘要: 原文地址:http://skyuck.iteye.com/blog/545988 默认情况下,struts2是无法处理以.do为后缀的请求url的(默认情况下是.action或者不填,可以参见org.apache.struts2包下的default.properties文件)。 但是struts2是 阅读全文
posted @ 2016-03-18 09:36 dirgo 阅读(341) 评论(0) 推荐(0)
摘要: 原文地址:http://it.oyksoft.com/post/6577/ Eclipse启动Tomcat时,默认配置的启动超时时长为45秒。假若项目启动超过45秒将会报错。两种解决方法:1、改XMLeclipse\workspace\.metadata\.plugins\org.eclipse.w 阅读全文
posted @ 2016-03-17 23:13 dirgo 阅读(637) 评论(0) 推荐(0)
摘要: 目前发现这个问题主要是在Action中的execute返回值时,没有对应的result name而引起的。很有可能是由于程序执行中出错了,但是对 应的Action中没有添加 input的result name的导致的。尝试的解决方案是在发生的错误的Action上添加  <result name=”i 阅读全文
posted @ 2016-03-14 14:54 dirgo 阅读(300) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/ycb1689/article/details/22928519 最新版Struts2+Hibernate+Spring整合 目前为止三大框架最新版本是: struts2.3.16.1 hibernate4.3.4 spring4.0.2 其中st 阅读全文
posted @ 2016-03-14 11:26 dirgo 阅读(382) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.csdn.net/a19881029/article/details/7916702 hibernate延迟加载: 一个person对应多个school,使用hibernate处理关联关系: T_PERSON表:       T_SCHOOL表:           阅读全文
posted @ 2016-03-14 10:41 dirgo 阅读(217) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 49 下一页