為了在每個dao和service 類都能用到log,在basedaoimpl和baseserviceimpl都實(shí)現(xiàn)方法:
??? public Log getLogger() {
??????? if (log == null) {
??????????? log = LogFactory.getLog(this.getClass());
??????? }
??????? return log;
??? }
在類中就可以調(diào)用log
this.getLogger
2、<input type="text" name="password">
與form的屬性對應(yīng),password是大小分別。