Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to know the no of client requesting

 
sanjeev mohanty
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to know how many clients are requesting to the server?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's pretty vague. Care to elaborate?
[ November 06, 2006: Message edited by: Bear Bibeault ]
 
lin yic
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maybe you can use the listener of the servlet to calculate the no of request.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can always add one of these to your website:

Java Ranch Statistics

Cheers!

-Cameron McKenzie
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic