我正在学习Struts2 in Action知道Struts 2中的Controller是FilterDispatcher
,Model是Action
。
但之前我知道Action
和FilterDispatcher
都是Controller,而Struts不提供对Model层的支持。以上哪一项是错误的?
最佳答案
我想说 FilterDispatcher 是 FrontController Action 是同一个类中的 Model 和 Controller。
关于java - Struts 2 MVC 架构中的困惑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27149042/