Mike Jasnowski wrote:
What about a servlet request/response filter? You might not get as granular
as you want, but you could get that info relatively easily from their, and
in the response record the elapsed time.

Filter == very easy way to do it. In fact there is an already-written drop-in filter that times requests and logs them in the excellent article at


<http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html>

You could easily modify this code to store the results in a session-scoped bean and then read this data from a JSP later in the user's session. You wouldn't be able to do it in a lesser scope because you record the time *after* the request is processed (after the chain.doFilter() method is called).


Erik



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



Reply via email to