jose chiramal wrote:What design pattern does Struts framework follow ?
Struts controller uses the
Command design pattern and the action classes use the
Adapter design pattern. The process() method of the RequestProcessor uses the
Template method design pattern. Struts also implement the following
J2EE design patterns.
* Service to Worker
* Dispatcher View
* Composite View (Struts Tiles)
* Front Controller
* View Helper
* Synchronizer Token
Is it Inversion of Control ???
If yes, how does inversion of control happen in struts ?
I have heard that this concept is used in Spring but not sure if it is in struts.
Struts2 is based on WebWork which has IoC. Struts2 supports interface injection (IOC).