摘要: 博客园,只看不写,实在不好意思。 Java开发者,只看不写,实在不好意思。 稍作总结,完善自己的知识体系,完善1244框架。 1:一个网络,互联网时代,熟知网络知识是前提。 2:两种视角丰富软件开发与职业规划,软件工程的角度+设计模式、算法数据结构的角度。 4:四种平台,OS、web端... 阅读全文
posted @ 2014-05-28 20:09 德赛克巴莱 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 1 、关闭MyEclipse的自动validation windows > perferences > myeclipse > validation 将Build下全部勾取消 如果你需要验证某个文件的时候,我们可以单独去验证它。方法是: 在需要验证的文件上( 右键 -> MyEclipse -> Run Validation 。2、 启动优化,关闭不需要使用的模块 所以可以将一些不使用的模块禁止 加载启动。 Window > Preferences > General > Startup andy Shutdo... 阅读全文
posted @ 2013-07-06 22:26 德赛克巴莱 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 十年学会编程著者: Peter Norvig翻译: Dai Yuwen为何人人都这么着急?信步走进任何一家书店,你会看到名为《如何在7天内学会Java》的书,还有各 种各样类似的书: 在几天内或几小时内学会Visual Basic, Windows, Internet等等,一眼望不到 尽头。我在Amazon上做了如下的强力检索: pubdate: after 1992 and title: days and (title: learn or title: teach yourself)得到了248个结果。前78个都是计算机类书籍(第79个是Learn Bengali in 3... 阅读全文
posted @ 2013-06-30 18:53 德赛克巴莱 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 最近用到在Tomcat服务器启动时自动加载数据到缓存,这就需要创建一个自定义的缓存监听器并实现ServletContextListener接口,并且在此自定义监听器中需要用到Spring的依赖注入功能.在web.xml文件中监听器配置如下:View Code 1 <listener> 2 <listener-class> 3 org.springframework.web.context.ContextLoaderListener 4 </listener-class> 5 </listener> 6 <listener> 7 ... 阅读全文
posted @ 2013-02-27 15:54 德赛克巴莱 阅读(500) 评论(0) 推荐(0) 编辑
摘要: .dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template .docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.pptx,application/vnd.openxmlformats-officedocument.presentationml.present 阅读全文
posted @ 2012-05-14 11:00 德赛克巴莱 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 对于自适应高度的代码有很多,可效率什么的考虑进来好代码就不多见了,不过思路倒是差不多的不带边框的iframe因为能和网页无缝的结合从而不刷新页面的情况下更新页面的部分数据成为可能,可是 iframe的大小却不像层那样可以“伸缩自如”,所以带来了使用上的麻烦,给iframe设置高度的时候多了也不好,少了更是不行,现在,让我来告诉大 家一种iframe动态调整高度的方法,主要是以下JS函数: 第一种方法:代码简单,兼容性还可以,大家可以先测试下。复制代码 代码如下:function SetWinHeight(obj) { var win=obj; if (document.getElementBy 阅读全文
posted @ 2012-05-12 11:28 德赛克巴莱 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 提示错误如下:Syntax error, parameterized types are only available if source level在myeclipse里引入新项目的时候会报如下错误:在使用泛型的地方提示:Multiple markers at this line - Syntax error, parameterized types are only available if source level is 5.0 - The type List is not generic; it cannot be parameterized with arguments <Ap 阅读全文
posted @ 2012-05-02 21:27 德赛克巴莱 阅读(987) 评论(0) 推荐(0) 编辑
摘要: 引言: eclipse新导入的项目经常可以看到“XX cannot be resolved to a type”的报错信息。本文将做以简单总结。 正文: (1)jdk不匹配(或不存在) 项目指定的jdk为“jdk1.6.0_18”,而当前eclipse使用的是“jdk1.6.0_22”。需要在BuildPath | Libraries,中做简单调整。 (2)jar包缺失或冲突 当找不到“XX”所在的jar包时,会报这个错。解决只需要找到(ctrl+点击,可能能看到jar包名称)对应jar包导入项目即可。 另外,出现相同的XX时也会报此错。可能需要调包、解包、选删。 (3)ecli... 阅读全文
posted @ 2012-05-02 20:58 德赛克巴莱 阅读(299) 评论(0) 推荐(0) 编辑
摘要: View Code 1 <script type="text/javascript"> 2 window.onbeforeunload=function() 3 { 4 alert("onbeforeunload event..."); 5 //return false; 6 } 7 </script> 8 <a href="#" onclick="return true;">测试1</a><br/> 9 <a href="javascri 阅读全文
posted @ 2012-03-25 08:39 德赛克巴莱 阅读(743) 评论(0) 推荐(0) 编辑
摘要: How to Reference and Use JSTL in your Web ApplicationAs a frequent contributor to the Spring Framework user forums, I have noticed a common trend among people new to Spring MVC – they really don’t understand how to use JSTL and EL in their Spring-driven JSPs.Although Spring MVC supports flexibility 阅读全文
posted @ 2012-03-21 09:38 德赛克巴莱 阅读(564) 评论(0) 推荐(0) 编辑