tou passando o seguinte url via browser e dar certo
http://localhost:8080/web_academico/control?ocupacao=professor&codTAluno=14&bimestre=3¬a=10&id=7
mas qd passo pela conexao via j2me n da certo, olhe o cód ai:
private void getConexao(){
Thread t = new Thread(this);
t.start();
}
public void run(){
StringBuffer buf = null;
DataInputStream dis = null;
HttpConnection con = null;
String array[] = null;
ArrayString as = null;
char id = ' ';
try{
//System.out.println(str_incl_alt);
//id = (str_incl_alt.equalsIgnoreCase("incluir") ? '5' : '6');
String url = "http://localhost:8080/web_academico/control?ocupacao=" + str_ocupacao
+ "&codTAluno=" + str_choice_cod_aluno + "&bimestre=" + choice_bim
+ "¬a=" + str_nota + "&id=7";
//String url = "";
con = (HttpConnection) Connector.open(url);
con.setRequestMethod(HttpConnection.GET);
System.out.println(url);
}
catch(IOException io){}
}
alguem sabe o pq?