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 we refresh servlet in client and server side automatically?
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 is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?
What is the importance of init() method in Servlet ?
How multiple simultaneous requests can be handled by servlets?
What are the different mode that servlets can be used?
difference between request.getSession(false) or request.getSession() and request.getSession(true)
Can we override the ActionServlet?
3 Answers ArisGlobal, HCL, PPF,
Difference Between Web Server and Application server ??
Why is httpservlet declared abstract?
What is the procedure for initializing a servlet?