Re: Qn about a performance bottleneck in InvokerServlet

2002-06-10 Thread Arvind Srinivasan
"Craig R. McClanahan" wrote: > The purpose is a performance optimization -- on subsequent requests to > "/servlet/foo", the container should find an existing mapping for the > servlet, so it will get called directly instead of going through the > invoker. > > > context.addServletMapping is call

Re: Qn about a performance bottleneck in InvokerServlet

2002-06-10 Thread Craig R. McClanahan
On Sun, 9 Jun 2002, Arvind Srinivasan wrote: > Date: Sun, 09 Jun 2002 23:36:47 -0700 > From: Arvind Srinivasan <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Developers List <[EMAIL PROTECTED]>

Qn about a performance bottleneck in InvokerServlet

2002-06-09 Thread Arvind Srinivasan
The following code snippet is from the serveRequest() method of org.apache.catalina.servlets.InvokerServlet.java - String name = "org.apache.catalina.INVOKER." + servletClass; String pattern = inServletPath + "/" + servletClass + "/*"; Wrapper wrapper = null;