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 is ServletContext object?
What is the default http method in the servlet?
How a servlet is unloaded?
Which event is fired at the time of setting, getting or removing attribute from application scope?
Explain the difference between jsp and servlet?
What do you mean by filter in servlet?
What is Generic Servlet and how it is different from Http Servlet?
Can you explain in detail 'javax.servlet' package?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Write a simple servlet program to print the contents of html.
How can we refresh automatically when new data is entered into the database?
How do we call one servlet from another servlet?