public void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
        request.setCharacterEncoding("UTF-8");
        response.setContentType("text/html; charset=UTF-8");
        PrintWriter out = response.getWriter();
        
        name = request.getParameter("name_task");
        String nameSubtask = request.getParameter("new_subtask");
        
        if (request.getParameter("new_subtask") != "null"){
            Subtask subtask = new Subtask(nameSubtask, name);
        }
        
        if (name != "null"){
            this.name = name;
        }
        sendRequestForInfo();
        loadSubtasks();
        
        printPage(out);
        
        subtasks = new Subtask[0];
    }