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 |
Describe the phases of servlet lifecycle?
Can filter be used as request or response?
Where do you define dispatcherservlet?
what are binding listners?
When servlet is loaded?
What are the ways to handle multi-threading in servlets?
Why jsp is better than servlet?
Explain mvc pattern.
What is setattribute in servlet?
how a user session can be tracked in servlets?
In servlets, Why do we need both GET and POST method implementations?
What is the requirement of servlet config and servlet context implemented and how are they implemented?