Hello i am try to get data from rest service and put in jTable
how to put data in jtable? very simple example pls.HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet("URL"); URL aURL = new URL("URL"); HttpResponse response = client.execute(request); BufferedReader rd = new BufferedReader (new InputStreamReader(response.getEntity().getContent())); String xmlFile = rd.readLine(); String line = ""; while ((line = rd.readLine()) != null) { StringEntity input = new StringEntity("{\"name1\":\"value1\",\"name2\":\"value2\"}"); input.setContentType("application/xml");
THX