- 
                    
- 
                    
- 
                    
- 
                    Difference between single thread and multi thread model servletAnswered by Scott on 2005-05-12 10:39:32: A servlet that implements SingleThreadModel means that for every request, a single servlet instance is created. This is not a very scalable solution as most web servers handle multitudes of requests. A multi-threaded servlet means that one servlet is capable of handling many requests which is the way most servlets should be implemented. A single... 
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    If you want a servlet to take the same action for both GET and POST request, what should you do?Simply have doGet call doPost, or vice versa. 
- 
                    
- 
                    
- 
                    
- 
                    How to communicate between two servlets?ANS: Two ways:1. Forward or redirect from one Servlet to another.2. Load the Servlet from ServletContext and access methods. 
Servlets Interview Questions

 
  
  
  
		
Ans