Erro na linha para deletarUsuario
[code]/*
- deletarUsuarioAction.java
- Created on 10 de Agosto de 2005, 09:52
- To change this template, choose Tools | Options and locate the template under
- the Source Creation and Management node. Right-click the template and choose
- Open. You can then make changes to the template in the Source Editor.
*/
package action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
//import persistencia.GerLoginBd;
import persistencia.GerSistemaBD;
/*
- deletarUsuarioBD.java
- Created on 10 de Agosto de 2005, 08:25
- To change this template, choose Tools | Options and locate the template under
- the Source Creation and Management node. Right-click the template and choose
- Open. You can then make changes to the template in the Source Editor.
*/
/**
*
-
@author eduardo
*/
public class deletarUsuarioAction implements Actions{
public void execute(HttpServletRequest request, HttpServletResponse response) {
try{
String Numero = request.getParameter("Numero");
String solic = request.getParameter("solic");
String depto = request.getParameter("depto");
String dt_cham = request.getParameter("dt_cham");
String h_cham = request.getParameter("h_cham");
String motivo = request.getParameter("motivo");
String desc1 = request.getParameter("desc1");
String desc2 = request.getParameter("desc2");
String h_inicio = request.getParameter("h_inicio");
String h_fim = request.getParameter("h_fim");
String dt_inicio = request.getParameter("dt_inicio");
String dt_fim = request.getParameter("dt_fim");
String prazo = request.getParameter("prazo");
String tecnico = request.getParameter("tecnico");
String concluido = request.getParameter("concluido");
String status = request.getParameter("status");
this.deletarUsuario(Numero, solic, depto, dt_cham, h_cham, motivo, desc1, desc2, h_inicio, h_fim, dt_inicio, dt_fim, prazo, tecnico, concluido, status);
System.out.println(Numero);
System.out.println(solic);
System.out.println(depto);
System.out.println(dt_cham);
System.out.println(h_cham);
System.out.println(motivo);
System.out.println(desc1);
System.out.println(desc2);
System.out.println(h_inicio);
System.out.println(h_fim);
System.out.println(dt_inicio);
System.out.println(dt_fim);
System.out.println(prazo);
System.out.println(tecnico);
System.out.println(concluido);
System.out.println(status);
request.getRequestDispatcher("cadOK2.htm").forward(request,response);
}catch (Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
}
}
public boolean deletarUsuario(String Numero,String solic,String depto,String dt_cham,String h_cham,String motivo,String desc1,String desc2,String h_inicio,String h_fim,String dt_inicio,String dt_fim,String prazo,String tecnico,String concluido,String status){
GerSistemaBD ger = new GerSistemaBD();
//System.out.println(ger.inserirUsuarioBD(fullName, username, password, role));
return ger.deletarUsuario( Numero, solic, depto, dt_cham, h_cham, motivo, desc1, desc2, h_inicio, h_fim, dt_inicio, dt_fim, prazo, tecnico, concluido, status);
}
}
[/code]
ERRO:
Compiling 1 source file to C:\Intranet\build\web\WEB-INF\classes
C:\Intranet\src\java\action\deletarUsuarioAction.java:85: cannot find symbol
symbol : method deletarUsuario(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: class persistencia.GerSistemaBD
return ger.deletarUsuario( Numero, solic, depto, dt_cham, h_cham, motivo, desc1, desc2, h_inicio, h_fim, dt_inicio, dt_fim, prazo, tecnico, concluido, status);
1 error
C:\Intranet\nbproject\build-impl.xml:258: The following error occurred while executing this line:
C:\Intranet\nbproject\build-impl.xml:122: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 8 seconds)