Package PackTratamento

Examples of PackTratamento.Tratamento


    st  = connection.createStatement();
    ResultSet rs = st.executeQuery(sql);
    // Passagem por cada um das tuplas
    while(rs.next()) {
      // Recuperação de cada um dos atributos e aramazenamento no vetor
                        Tratamento a = new Tratamento();
                        a.setPalavraChave(rs.getString("texto"));
                        a.setIdQuestao(rs.getInt("id_questao"));
                        resultadoDoBanco.add(a);
    }
                System.out.println(resultadoDoBanco.size());
    // Finaliza conexão
    disconnect();
View Full Code Here


    throws ServletException, IOException, SQLException, ClassNotFoundException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try {
            //começa aqui
            Tratamento t = new Tratamento();
            String id = request.getParameter("id");
            String professor = request.getParameter("professor");
            Vector<String> tags = new Vector();
            String tag1 = new String();
            tag1 = request.getParameter("palavras-chave");
            tags = t.separadorTags(tag1);
            String[] disciplinas = new String[5];
            disciplinas[0] = request.getParameter("disciplinas");
            String grau = request.getParameter("grau_dificuldade");
            String tipo = request.getParameter("tipo");
            Questao q1  = null;
View Full Code Here

TOP

Related Classes of PackTratamento.Tratamento

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.