@Override
    public String execute(HttpServletRequest request) throws SQLException, ClassNotFoundException {


        String tableName = request.getParameter("TableName");
        System.out.println(tableName);
        if (tableName != null && tableName != "") {

            try {
                Class.forName("org.h2.Driver");
            } catch (ClassNotFoundException e) {
                e.printStackTrace();
            }

            Connection connection = DriverManager.getConnection("jdbc:h2:tcp://localhost/F:/Видео Epam/db/FPDB", "Rody", "1"); //"jdbc:h2:tcp://localhost/F:/Видео Epam/db/FPDB", "Rody", "1"
            Statement statement = connection.createStatement();

            ResultSet resultSet = statement.executeQuery("SELECT * FROM " + tableName);
            ResultSetMetaData resultSetMD = resultSet.getMetaData();

            List<Element> namesOfColumns = new ArrayList<>();

            int i = 2;
            while(i <= resultSetMD.getColumnCount()){
                if (resultSetMD.getColumnName(i) != "ID")
                    namesOfColumns.add(new Element(FirsUpperSymbol(resultSetMD.getColumnName(i).toLowerCase())));
                i++;
            }

            String valuesString = "(";
            String colsNamesString = "(";

            String[] parameters = request.getParameterValues("ValuesForInsertToDB");
            for (String parameter : parameters) {
                valuesString = valuesString + "'" + parameter + "'" +",";
            }
            valuesString = valuesString.substring(0,valuesString.length()-1) + ")";
            System.out.println(valuesString);

            for (Element nameOfColumn : namesOfColumns) {
                colsNamesString = colsNamesString + nameOfColumn.getElement() + ",";
            }
            colsNamesString = colsNamesString.substring(0,colsNamesString.length()-1) + ")";
            System.out.println(colsNamesString);

            statement.execute("insert into " + tableName + " " + colsNamesString + " values " + valuesString);

            connection.close();
        }
        return "index.jsp";
    }