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 do struts work?
What is struts in j2ee?
What configurations are stored in struts configuration file ?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What is struts.devmode?
When do I need “struts.jar” on my classpath?
Which file is used by controller to get mapping information for request routing?
What is struts xml?
What is the difference between shocks and struts?
What does i18n interceptor?
What are the ways in which duplicate form submission can occur?
What are action errors and error and what are the consequences they impose?
In how many ways duplicate form submission can occurs?
Is struts mvc framework?
What is dispatch action class?