I have one applet that opens one file which is given in the PARAM tag.
In my web page i have a button. When i click that button a page will display that has list of links each contain a filename. When i click a filename the correct file will be opened and that page will be closed. But when i click that button again the page will be displayed and file which is clicked previously will be happened without clicking the filename link.