Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes time taken to process a request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "time taken to process a request" Watch "time taken to process a request" New topic

time taken to process a request

Ram Para
Ranch Hand

Joined: Jul 09, 2008
Posts: 50
how I can get the time taken to process a request.

I need to log the time taken for all requests coming in.

Ram Parashar
Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

A filter could be used to do that quite easily.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12759
Take a look at JAMon tools.
Sanjay Menon

Joined: Oct 09, 2009
Posts: 1
Why don't you try the javax.servlet.ServletRequestListener?
I agree. Here's the link:
subject: time taken to process a request
Similar Threads
subtract/add date
request time/response time / run time, these all are same?
how to get the server processing time
latency and response
Time taken by a request