I want to ping some IP from my webpage and want to display the ping result in command prompt on the client side. i.e. when a client would b accessing my jsp page from any location,the DOS prompt should pop up on his screen and should start pinging the given IP which would be provided as parameter from the previous JSP page.
Note that the applet will need to be signed in order to execute DOS/Windows commands via Runtime.exec or ProcessBuilder (assuming that's how you intend to run the Ping). Also note that you need to check what OS is on the client, so that you don't try to run Unix commands on Windows and vice versa.