can we use more than one controller in web application
Answers were Sorted based on User's Feedback
Answer / kishore
We can have multiple controllers but if it is a struts
framework then it voilates MVC design since we cannot have
more than one controller in MVC
| Is This Answer Correct ? | 22 Yes | 2 No |
Answer / kalyan
We can have mulitiple controllers but if it is struts
framework MVC design follows the one controller ,its not
supported the multiple controllers
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / manisha telang
We can use as many controllers if not using Struts ,
Usaually designs that I have worked has one business logic
has one controller .
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the exceptions thrown by servlets? Why?
how to pass parameter from servlet to html form
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What are the objects involved when a servlet receives a call from client?
What is a servlet engine?
How to invoke a Servlet?
What is the use of servlet wrapper classes?
What is servlet tunnelling?
What is a web container and what is its responsibility?
Differentiate between the print writer and servlet output stream?
What are the mechanisms used by a servlet container for maintaining session information?
What is the difference between sendredirect() and forward() in a servlet?