can we use more than one controller in web application

Answers were Sorted based on User's Feedback



can we use more than one controller in web application..

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

can we use more than one controller in web application..

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

can we use more than one controller in web application..

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

Post New Answer

More Servlets Interview Questions

Can a servlet be called by passing its name as a parameter in the URL?

1 Answers   iFlex,


What are the ways to handle multi-threading in servlets?

0 Answers  


What are the life cycle methods of a servlet?

0 Answers  


how a user session can be tracked in servlets?

1 Answers  


how this statement works..? public void service(HttpServletRequest request,HttpServletResponse response)

2 Answers   TCS,


Explain the difference between generic servlet and http servlet?

0 Answers  


Explain the role of dispatcherservlet and contextloaderlistener.

0 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


What's the difference between servlets and applets?

0 Answers  


can it possible to validate form field before execution of a servlet service method if yes how??

6 Answers  


What are the different methods involved in the process of session management in servlets?

0 Answers  


What are the types of servlet?

0 Answers  


Categories