This is somewhat TC 3.3 specific, but something like:
   HttpSession session = request.getSession(true);
   if(session == null) {
      returnBusyPage(request, response);
      return;
   }

TC 3.3 will return null for the session if it is unable to create one (e.g.
because maxActiveSessions is exceeded).

"Maria Vetzabet Dzul Gutierrez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I´m working with  tomcat-3.3. I configured the server.xml I allowed 25
> sessions.
>  <SimpleSessionStore maxActiveSessions="25" />. When the 26 session
> acces the jsp  I want to show the page that said . "Sorry the Server is
> busy".  How I can do it.
> Thank 's
> Vetza




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to