Apache Struts Question:

What design patterns are used in Struts?

Tweet Share WhatsApp

Answer:

Struts is based on model 2 MVC (Model-View-Controller) architecture. 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

Download Struts PDF Read All 41 Struts Questions
Previous QuestionNext Question
In which method of Action class the business logic is executed?Can we have more than one struts-config.xml file for a single Struts application?