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>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-12-24
  • 2022-12-23
  • 2022-01-29
  • 2021-09-15
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-10-15
  • 2022-03-05
相关资源
相似解决方案