I have an webapplication developed by jsp/struts.for that How can the number of simultaneous users be restricted?
posted 11 years ago
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...