No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I'm currently working on a project and I need to get the values I need from the API server. I'm really new to working with objects and arrays alltogheter, can I have a little help and perhaps someone can provide a simple example on how I can do this … |
|
[CODE] String ip = "www.google.ro"; String pingResult = ""; String pingCmd = "ping " + ip + " -c 4"; String s; try { Process p = Runtime.getRuntime().exec(pingCmd); BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream())); BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream())); // read the output from the command System.out.println("Rezultat ping:\n"); for … |
|
Hello, I need a script that will be added after </body> and will be displayed at the top of the page. I know is posible, I have one : [CODE]<script type="text/javascript"> var object = document.createElement('div'); object.innerHTML = 'The banner script is HERE'; var body = document.getElementsByTagName('body')[0]; body.insertBefore(object, body.firstChild); </script>[/CODE] The … |