That depends on what you mean by "use Applets in jsp". Applets are not part of JSPs, but they can be part of the HTML page that's generated by a JSP. If that's what you mean, simply generate an applet tag and it should work fine. See this for more details about the tag.
Ping & DNS - updated with new look and Ping home screen widget