Ankit, thanks for giving time to my problem. I tell you the exact scenerio. One
applet is launched as a popup on click of a button from one environment, then a url is attached with this applet.
Means then my application is launched i.e. jsp page is launched in this applet, on that jsp close button is there. on click of close button, i perform some work. The same work i want to perform when user direct click on that applet close [*] button. I have used window's default functionality i.e. "onunload" or "onbeforeunload" functions, these functions work well if i launch my url in independent internet explorer, but in that applet popup, these are not working.