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 |
Can a servlet be called by passing its name as a parameter in the URL?
What are the ways to handle multi-threading in servlets?
What are the life cycle methods of a servlet?
how a user session can be tracked in servlets?
how this statement works..? public void service(HttpServletRequest request,HttpServletResponse response)
Explain the difference between generic servlet and http servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
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.
What's the difference between servlets and applets?
can it possible to validate form field before execution of a servlet service method if yes how??
What are the different methods involved in the process of session management in servlets?
What are the types of servlet?