08 2015 档案

摘要:所谓ModelDriven,意思是直接把实体类当成页面数据的收集对象。比如,有实体类User如下:package cn.com.leadfar.struts2.actions;public class User { private int id; private String username; p... 阅读全文
posted @ 2015-08-27 22:18 林本托 阅读(284) 评论(0) 推荐(0) 编辑
摘要:packagecom.lee.first1200;publicinterfaceCar{publicvoidsayName();}packagecom.lee.first1200;publicclassAudiCarimplementsCar{@OverridepublicvoidsayName()... 阅读全文
posted @ 2015-08-23 21:40 林本托 阅读(558) 评论(0) 推荐(0) 编辑
摘要:1,首先定义Employee类。package coffee.how.to.program.early.objects.chapter15;public class Employee { private String firstName; private String lastN... 阅读全文
posted @ 2015-08-18 17:07 林本托 阅读(877) 评论(0) 推荐(0) 编辑
摘要:When defining your own exception type, study the existing exception classes in the Java API and try to extend a related exception class. For example, ... 阅读全文
posted @ 2015-08-15 23:08 林本托 阅读(899) 评论(0) 推荐(0) 编辑
摘要:There have been many excellent books that have greatly influenced what I believe and how I behave. I try to spend at least some time every day reading... 阅读全文
posted @ 2015-08-13 15:56 林本托 阅读(357) 评论(0) 推荐(0) 编辑
摘要:1,收集Request传递过来的参数; 2,把这些参数组织成模型需要的类型; 3,调用模型进行逻辑功能处理; 4,选择下一个页面,先准备好一个页面需要的数据,然后转向下一个页面。 阅读全文
posted @ 2015-08-12 21:56 林本托 阅读(616) 评论(0) 推荐(0) 编辑
摘要:Oracle中支持窗口函数ROW_NUMBER(),其用法和MSSQLServer2005中相同,比如我们执行下面的SQL语句:SELECT*FROM(SELECTROW_NUMBER() OVER(ORDER BYFSalaryDESC) row_num,FNumber,FName,FSalary... 阅读全文
posted @ 2015-08-06 19:55 林本托 阅读(780) 评论(0) 推荐(0) 编辑
摘要:The biggest mistake that you can make is to believe that you are working for somebody else. Job security is gone. The driving force of a career must c... 阅读全文
posted @ 2015-08-03 17:01 林本托 阅读(662) 评论(0) 推荐(0) 编辑

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