struct2+spring+hibernate
HttpRequet →struct2的核心的FilterDispatcher→action→service→dao→model,
┗ jsp(freemaker等视图格式)
其中,service,dao,model层都由spring提供,同时spring还有AOP功能。model层底层
有hibernate提供。action则由struct2提供
如图所示:
struct2+spring+hibernate
HttpRequet →struct2的核心的FilterDispatcher→action→service→dao→model,
┗ jsp(freemaker等视图格式)
其中,service,dao,model层都由spring提供,同时spring还有AOP功能。model层底层
有hibernate提供。action则由struct2提供
如图所示: