code: private void invokeOpByName(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
     {
        String name = request.getParameter("name");
  
        if (trace)
           log.trace("invokeOpByName, name=" + name);
  
        String[] argTypes = request.getParameterValues("argType");
        String[] args = getArgs(request);
        String methodName = request.getParameter("methodName");
  
        if (methodName == null)
           throw new ServletException("No methodName given in invokeOpByName form");
  
        try
        {
           OpResultInfo opResult = invokeOpByName(name, methodName, argTypes, args);
           request.setAttribute("opResultInfo", opResult);
  
           RequestDispatcher rd = this.getServletContext().getRequestDispatcher("/displayopresult.jsp");
           rd.forward(request, response);
        }
        catch (Exception e)
        {
           throw new ServletException("Failed to invoke operation", e);
        }
     }
docs: Invoke a MBean operation given the method name and its signature.
  @param request The HTTP request
  @param response The HTTP response
  @exception ServletException Thrown if an error occurs
  @exception IOException Thrown if an I/O error occurs