Can we have different controllers in one struts app?
Answer Posted / qim2010
We can’t have different controllers in one struts
application as Struts Framework is based on Front Controller
design pattern. The Front Controller suggests that we only
have one Servlet (instead of having specific Servlet for
each specific request) centralizing the handling of all the
requests and delegating the functions like validation,
invoking business services etc to a command or a helper
component.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to build struts application in eclipse?
What is the difference between empty default namespace and root namespace?
What are action errors and error and what are the consequences they impose?
How nested beans can be used in Struts applications?
Provide some important Struts2 constants that you have used?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
Why use spring, if you are already using struts?
Which configuration files are used in struts?
What is controller in struts2?
What is the life cycle of actionform?
Why actionservlet is singleton in struts?
What is apache struts framework?
Describe the mvc on struts?
What do you mean by dynaactionform?
What is struts and why it is used?