Hi,

I have a jsp page where I have a text box to enter an ip address and a button to ping the ip address entered. Can anyone tell me how to implement this using java/jsp/ajax.

Thanks a lot in advance

Saswati

Runtime.exec()

Read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html If you insist on using Java to do this. I feel, for something this simplistic, and server undemanding, php or a simple CGI would be more than enough and any kind of Java/JSP (which would require an entire framework) is extreme overkill. Ajax, IMO, would also be overkill. Simply let the button be a standard submit button.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.