*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "time taken to process a request" Watch "time taken to process a request" New topic
Author

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
http://doinfinite.com
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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

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

Joined: Oct 09, 2009
Posts: 1
Why don't you try the javax.servlet.ServletRequestListener?
 
wood burning stoves
 
subject: time taken to process a request