08 2015 档案
摘要:所谓ModelDriven,意思是直接把实体类当成页面数据的收集对象。比如,有实体类User如下:package cn.com.leadfar.struts2.actions;public class User { private int id; private String username; p...
阅读全文
摘要:packagecom.lee.first1200;publicinterfaceCar{publicvoidsayName();}packagecom.lee.first1200;publicclassAudiCarimplementsCar{@OverridepublicvoidsayName()...
阅读全文
摘要:1,首先定义Employee类。package coffee.how.to.program.early.objects.chapter15;public class Employee { private String firstName; private String lastN...
阅读全文
摘要: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, ...
阅读全文
摘要: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...
阅读全文
摘要:1,收集Request传递过来的参数; 2,把这些参数组织成模型需要的类型; 3,调用模型进行逻辑功能处理; 4,选择下一个页面,先准备好一个页面需要的数据,然后转向下一个页面。
阅读全文
摘要:Oracle中支持窗口函数ROW_NUMBER(),其用法和MSSQLServer2005中相同,比如我们执行下面的SQL语句:SELECT*FROM(SELECTROW_NUMBER() OVER(ORDER BYFSalaryDESC) row_num,FNumber,FName,FSalary...
阅读全文
摘要: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...
阅读全文