If you are using Spring, you can also easily do it with AOP.

-Richard

On Tue, Jul 1, 2008 at 12:23 PM, Stephen Friedrich <[EMAIL PROTECTED]>
wrote:

> I think it's not really feasible with a servlet only, but an interceptor
> can easily do it.
> See the posts in this thread for a working example:
>
> http://seamframework.org/Community/SeamPerformanceProblemRewardingWorkaround
>
> There's a little bit more configuration to do when you are not using Seam,
> but not too complicated either way.
>
>
> Michael Heinen wrote:
>
>> What's the best approach to output the name of the called
>> action/actionListener and the name of the corresponding managed beans ?
>>
>> I want to use a ServletFilter to measure the times for http requests and
>> print out these names.
>>
>> Is there anything generic available via FacesContext? I do not want to
>> touch every  managed bean.
>>
>>
>> Or do I have to overwrite org.apache.myfaces.el.MethodBindingImpl in order
>> to store the names in requestscope in the "invoke" method?
>>
>>
>> Michael
>>
>>
>

Reply via email to