Opening files from java application by other programs

Hi! Could you tell me how to solve such task. After saving of file on local drive by applet i need to show a link "View file" that will open file by assotiated programs (.doc - MSWord, .pdf - Acrobat Reader etc. applet will work on Linux platform too). Thanks!
[267 byte] By [Rygela] at [2007-11-27 9:37:36]
# 1
Just provide a link to the file and leave it up to the OS to determine which program to use to open it.
YoGeea at 2007-7-12 23:09:12 > top of Java-index,Java Essentials,New To Java...