/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package siregar.romauli.siregar.servlet; import java.io.*; import java.util.Enumeration; import javax.servlet.ServletException; import javax.servlet.http.*; import siregar.romauli.siregar.thread.*; /** * * @author toshiba */ public class FirstServlet extends HttpServlet { public int numberOfClients = 5; public int numberMax = 0; ProcessThread aThread = null; /** * Processes requests for both HTTP * <code>GET</code> and * <code>POST</code> methods. * * @param request servlet request * @param response servlet response * @throws ServletException if a servlet-specific error occurs * @throws IOException if an I/O error occurs */ protected void processRequest(HttpServletRequest request, HttpServletResponse response, String str) throws ServletException, IOExcep