I patched jasper2 and tagpool to synchronize only at begin/end of the jsp site => 2 syncs per request
Torsten Fohrer On Saturday 18 January 2003 10:24, you wrote: > Bill Barker wrote: > > Yeah, well, almost all of my JSP pages are defined by: > > <servlet> > > <servlet-name>somename</servlet-name> > > <jsp-page>/somepath/somepage.jsp</jsp-page> > > </servlet> > > And I can assure you that the params for JspServlet don't work at all > > (unless I take the totally brain-dead path of including the Jasper params > > in my own servlets). > > Either I misunderstood something, or the instructions are bad, but the > tagPooling parameter is set in conf/web.xml (in the Jasper servlet > declaration), and is server-wide. > > > If tag-pooling works for you, I'm happy for you. The current > > implementation doesn't work for me big time. However, I'm very > > interested in Costin's claim that it can be done thread-local. > > I suppose the effect of syncing can vary greatly depending on the server. > Using thread local to store the tag instances may be a good idea indeed. > Definitely something to consider if we decide to target Tomcat 5 at JDK > 1.4. > > Remy > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>