java code that will show dynamic users connected on the network or wifi , How that will show on the webpage using tables?

dynamic users connected on the wifi or network, but that list of users how to show on webpage using tables?
This is the Java Code….

CODE:

import java.net.InetAddress;
import java.net.NetworkInterface;

public class network {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
         final byte[] ip;
            try {
                ip = InetAddress.getLocalHost().getAddress();
            } catch (Exception e) {
                return;     // exit method, otherwise "ip might not have been initialized"
            }

            for(int i=1;i<=25;i++) {
                final int j = i;  // i as non-final variable cannot be referenced from inner class
                new Thread(new Runnable() {   // new thread for parallel execution
                    public void run() {
                        try {
                            ip[3] = (byte)j;
                            InetAddress address = InetAddress.getByAddress(ip); 


                            String output = address.toString().substring(1);

                            if (address.isReachable(1000)) {

                                System.out.println("HostName :   "+address.getHostName()+" /  IP Address  "+address.getHostAddress());
                            } 
                            else {
                                 System.out.println(output + " is on the network");
                                System.out.println("Not Reachable: "+output);
                            }
                        } catch (Exception e) {
                            e.printStackTrace();
                        }
                    }
                }).start();     // dont forget to start the thread
            }
    }

}