最新回答 / OMEPiGaPiGa
Integer是Int的包装类型,一般我们在使用的时候会用int ,但是int 是没有null这个值的,而Integer是有的。某些业务环境下可能会出现整形数据为空的情况(比如查询数据库)。因此,我们需要定义一个Integer来对应null的情况。
2016-12-06
最新回答 / 慕粉0031574727
List<Employee> list=(List<Employee>)this.getHibernateTemplate().find(hql,employee.getUsername(),employee.getPassword());试试
2016-12-06
最新回答 / OMEPiGaPiGa
关于这个,老师已经解释过了,在struts标签里面,除了property 和 date 不用%{xxx},其它都需要通过 %{moudel.xxx}强制解析moudel.xxx为OGNL表达式
2016-11-18