SSH框架中新建立实体类后的配置

strut 层

public class Sellauthentication extends ActionSupport {
    private SellauthenticationService SellauthenticationService;
         
    public SellauthenticationService getSellauthenticationService() {
        return SellauthenticationService;
    }
    public void setSellauthenticationService(
            SellauthenticationService sellauthenticationService) {
        SellauthenticationService = sellauthenticationService;
    }
   
    
}

spring 层

public interface SellauthenticationService {
  
}

public class SellauthenticationServiceImpl implements SellauthenticationService {
    private SellauthenticationDao SellauthenticationDao;

    public SellauthenticationDao getSellauthenticationDao() {
        return SellauthenticationDao;
    }

    public void setSellauthenticationDao(SellauthenticationDao sellauthenticationDao) {
        SellauthenticationDao = sellauthenticationDao;
    }   
    
}

hibernate 层

public interface SellauthenticationDao {

}

public class SellauthenticationDaoImpl extends HibernateDaoSupport implements SellauthenticationDao{
  
}

spring 配置文件

<bean />
    </bean>

<bean />
    </bean>

<bean />
    </bean>