05 2015 档案

摘要:常见事件及相应事件源类型事件源用户操作事件JButton点击按钮ActionEventJTextField 在文本域按回车键ActionEventJCheckBox点击复选框ActionEvent, ItemEventJRadioButton点击单选按钮ActionEvent, ItemEventJ... 阅读全文
posted @ 2015-05-25 23:13 思思博士 阅读(1626) 评论(0) 推荐(0) 编辑
摘要:1.为了支持图形用户界面程序设计,java1.0的标准类库中包含一个抽象窗口工具箱(Abstract Window Toolkit,AWT).这个工具箱极不成熟,其编程模型也不是面向对象的,有很大的局限性.为此,java1.2最终决定放弃AWT中的GUI,而是添加了一个Swing库.Swing组件不... 阅读全文
posted @ 2015-05-25 21:57 思思博士 阅读(387) 评论(0) 推荐(0) 编辑
摘要:dwr2.0的jar包,还需要同时导入log4j.jar和commons-loggin.jar首先是配置文件: 1 2 3 dwr-invoker 4 org.directwebremoting.servlet.DwrServlet 5 6 ... 阅读全文
posted @ 2015-05-25 14:48 思思博士 阅读(180) 评论(0) 推荐(0) 编辑
摘要:抄袭自: http://www.cnblogs.com/riskyer/p/3263032.htmlJava线程:概念与原理一、操作系统中线程和进程的概念 现在的操作系统是多任务操作系统。多线程是实现多任务的一种方式。 进程是指一个内存中运行的应用程序,每个进程都有自己独立的一块内存空间,一个进程中... 阅读全文
posted @ 2015-05-20 16:28 思思博士 阅读(261) 评论(0) 推荐(0) 编辑
摘要:index.jsp 1 2 6 7 8 9 10 "> 11 测试异常 12 13 14 15 16 用户名:17 密码:18 19 20 21 struts.xml 1 2 5 6 7 ... 阅读全文
posted @ 2015-05-14 14:33 思思博士 阅读(89) 评论(0) 推荐(0) 编辑
摘要:案例一:insert语句,然后获取这条语句的id值.1 2 5 insert into book6 (bookname,author,isbn,price,typeid,publishDate)7 values8 (#{bookname},#{author},#{isbn},#... 阅读全文
posted @ 2015-05-09 16:59 思思博士 阅读(180) 评论(0) 推荐(0) 编辑
摘要:struts中一个正常的最普通不过的action是这样子的1 2 3 /1/regist1.jsp4 /1/regist2.jsp 5 6 使用通配符11 2 3 ... 阅读全文
posted @ 2015-05-08 10:00 思思博士 阅读(276) 评论(0) 推荐(0) 编辑
摘要:搭建环境:引入jar包,src下建立struts.xml文件项目配置文件web.xml.web.xml: 1 2 3 struts2Test 4 5 index.html 6 index.htm 7 index.jsp 8 default.html 9 ... 阅读全文
posted @ 2015-05-06 17:16 思思博士 阅读(241) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示