On Fri, Apr 11, 2014 at 6:46 AM, Dutta, Abhishek < abhishek.du...@capgemini.com> wrote:
> Hi, > > I am not very sure . But I guess If we consider the servlet lifecycle the > servlet is not supposed to get instantiated until requested for . > > The question is, do the JSP pages contain static text or JSP elements? Either way, a JSP will be converted to a servlet in the container. When a request for the JSP is made, the container will check to see if the JSP page's servlet is older than the JSP page, and if it is, then the JSP page gets re-compiled. http://docs.oracle.com/javaee/5/tutorial/doc/bnahe.html Now you are going through the servlet life cycle for each JSP page that is newer than it's servlet. And you also have spawned 16,000 threads in this application. One for each init() method of those servlets. Is this performance problem something you didn't have before today?