resp=post.getResponseBodyAsStream(); getAppletContext().showDocument(new URL("http://127.0.0.1/site isimm/ens/ens.php?p=cours"), "_self");
rr="http://127.0.0.1/site isimm/ens/index.php"; myURL2=geturlencod(rr); PostMethod post = new PostMethod(myURL2.getProtocol()+"://"+myURL2.getHost()+myURL2.getPath()); NameValuePair[] data = {new NameValuePair("login", ids),new NameValuePair("password", ids),}; post.setRequestBody(data); client.executeMethod(post);
resp=post.getResponseBodyAsStream(); new ServerRespHtml(resp); getAppletContext().showDocument(new URL("http://127.0.0.1/site isimm/ens/ens.php?p=cours"), "_self");
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question