This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Number simultaneous user restrictions........ 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 "Number simultaneous user restrictions........" Watch "Number simultaneous user restrictions........" New topic
Author

Number simultaneous user restrictions........

vijayakumaar ramasamy
Greenhorn

Joined: Jun 04, 2004
Posts: 9
I have an webapplication developed by jsp/struts.for that How can the number of simultaneous users be restricted?

Regards
Vijay
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
This is really just a general web development question so I am moving it to the Servlets Forum...

Off the top of my head I would say that you could track the number of current users by using a ServletContextListener and deny any that exceed a certain threshold. Of course, since you didn't describe your problem I am not sure why you would want to do this...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Number simultaneous user restrictions........
 
Similar Threads
Question regarding JCA
Number of Simultaneous Timer?
Tomcat error-too many client tasks
How can the number of simultaneous users be restricted?
tech journalist seeking comments of post-deployment performance tuning