I'm not sure which version of the source code you're looking at but this
issue was raised in Bug 30707 and resolved in version 1.2.4 of Struts.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30707

While the getRequestProcessor() method is still synchronized, it only gets
called if the getProcessorForModule() method returns null - that should
happen only the first time a request is received for a module.

Niall

----- Original Message ----- 
From: "Leandro Melo" <[EMAIL PROTECTED]>
Sent: Sunday, February 06, 2005 7:31 PM


> Hi.
> I was taking a look at struts source and found out
> something new (to me, of course).
> I knew that the RequestProcessor is the one that
> acutally handles the request. Although it makes sense,
> I didn't know that the method getRequestProcessor() in
> the ActionServlet was synchronized.
> Has anyone "measured" any performance impact that may
> be cause by that?
> Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to