Apache Struts Question:

Download Job Interview Questions and Answers PDF

What design patterns are used in Struts?

Struts Interview Question
Struts Interview Question

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 Interview Questions And Answers PDF

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?