This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes to know   the no of client requesting Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "to know   the no of client requesting" Watch "to know   the no of client requesting" New topic
Author

to know the no of client requesting

sanjeev mohanty
Greenhorn

Joined: Aug 29, 2006
Posts: 3
how to know how many clients are requesting to the server?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56540
    
  14

That's pretty vague. Care to elaborate?
[ November 06, 2006: Message edited by: Bear Bibeault ]

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
lin yic
Greenhorn

Joined: Nov 06, 2006
Posts: 11
maybe you can use the listener of the servlet to calculate the no of request.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

You can always add one of these to your website:

Java Ranch Statistics

Cheers!

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2300
The HTTP requests from the clients at server are intercepted by the HTTP listners and then sent for further request processing.You can write your own HTTP listner and install at tomcat (defualt is coyote listner).

Note this answer is specific to tomcat and if you can change the tomcat settings.


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: to know the no of client requesting
 
Similar Threads
How to get Sun logo for SCJP
Spring FTP
All Servlets 404
page to page communication using portlets
Help Needed: Stopping JBoss when the databse server is down