摘要: 第一部分:最常用的快捷键 Ctrl+space : Content Assist自动提示,和系统热键冲突,需要修改成其他的快捷键,我修改成了ctrl+alt+. Ctrl+/ : 注释或取消注释 Ctrl+F6 : 各编辑窗口之间切换,我修改成了Ctrl+Tab Ctrl+Shift+w或者Ctrl+Shift+F4 : 快速关闭所有编辑窗口 Ctrl+D : 删除当前行 Ctrl+F8 : 快速... 阅读全文
posted @ 2008-08-19 14:39 魔豆 阅读(1489) 评论(0) 推荐(0)
摘要: 1.写文件 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> public void WriteFile() { try { FileWriter fw = new FileWriter("c:/Write... 阅读全文
posted @ 2008-08-15 11:06 魔豆 阅读(441) 评论(0) 推荐(0)
摘要: 找到config.xml,在和之间插入: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> _appsdir_website_dir AdminServer war autodeploy\website DD... 阅读全文
posted @ 2008-08-14 14:21 魔豆 阅读(996) 评论(0) 推荐(0)
摘要: 哈哈,这是一段不能再简单的代码了! 我使用的是MyEclipse6.5,可以直接使用Spring,方法:新建一Web项目,菜单MyEclipse->Project Capabilities->Add Spring Capabilities...,我使用的是Spring2.0 添加一个c1.java类,这是一个普通的类,里面包含一个函数,返回一个字符串 Code highlighting p... 阅读全文
posted @ 2008-08-13 17:21 魔豆 阅读(566) 评论(0) 推荐(0)
摘要: 在src目录建立p.properties配置文件,内容为: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->str1=111111111 str2=222222222 操作函数: Code highlighting produced by Acti... 阅读全文
posted @ 2008-08-13 14:18 魔豆 阅读(2238) 评论(0) 推荐(0)
摘要: 在Eclispe(MyEclipse)主界面,导航到菜单Help > Software Updates > Manage Configuration,在左边窗口选择需要卸载的插件,直接右键Uninstall,按照提示,重新启动Eclispe。 阅读全文
posted @ 2008-08-13 11:40 魔豆 阅读(524) 评论(0) 推荐(0)
摘要: 我的WebLogic 9.2是安装在默认的c:/bea目录下,添加了域:base_domain,启动服务的批处理文件位于C:\bea\user_projects\domains\base_domain\bin\startWebLogic.cmd 我最初的想法是把startWebLogic.cmd直接添加到启动项,可是那个批处理是一直处于等待状态,命令窗口并不会自动关掉,很郁闷。 从网上查了... 阅读全文
posted @ 2008-08-11 20:02 魔豆 阅读(945) 评论(0) 推荐(0)
摘要: CVS这里就不介绍了,想了解的从网上搜一下,有很多介绍。 这里需要两个软件,一个CVS服务端,一个CVS客户端。这很类似于FTP,Serv-U是服务端,提供ftp服务,CuteFTP是客户端,使用ftp。 CVS服务端使用CVSNT,下载地址:http://www.cvsnt.org/archive/cvsnt-2.5.03.2382.msi CVS客户端使用TortoiseCVS,下载地... 阅读全文
posted @ 2008-08-11 14:16 魔豆 阅读(843) 评论(0) 推荐(0)
摘要: 从官方下载的struts-2.0.11.2的版本,在Tomcat6上跑,普通的页面也会报404错误,从网上查了很多资料,试了无数次,依然报错。 无意间换了个WebLogic9.2,很顺利的就通过了Struts2的页面,很激动啊。 使用Tomcat5.5也可以顺利的跑Struts2,搞不清楚Tomcat6为什么不行。 struts-2.0.11.2的包真多,一共有27个。其实把app/str... 阅读全文
posted @ 2008-08-10 19:57 魔豆 阅读(2295) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-08-07 17:42 魔豆 阅读(579) 评论(0) 推荐(0)
摘要: 使用格式: format(String format, Object... args) 例子: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2008-08-07 16:34 魔豆 阅读(2098) 评论(0) 推荐(0)
摘要: 首先需要在页面中引用java.util.*: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 然后在添加如下代码: Code highlighting produced by Actipro CodeHighlighter (freewa... 阅读全文
posted @ 2008-08-07 09:38 魔豆 阅读(5845) 评论(0) 推荐(0)
摘要: bean.java Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public class B1 { public String getString() { return "content"; } }... 阅读全文
posted @ 2008-08-06 17:11 魔豆 阅读(659) 评论(0) 推荐(0)
摘要: inc.jsp Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> code.jsp Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHi... 阅读全文
posted @ 2008-08-06 15:30 魔豆 阅读(613) 评论(0) 推荐(0)
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 声明函数需要使用"!"号,"!"号是必须的。也可以声明变量,或者类。 阅读全文
posted @ 2008-08-06 15:19 魔豆 阅读(826) 评论(0) 推荐(0)