A Problem about exporting DISPLAY of an application in linux

view story

http://unix.stackexchange.com – I am working on a web application which displays the home directory which is either on the web server or mounted on an NFS partition on the web server after a user logs in. When I click on a file in the displayed home directory, based on its type it has to launch the application corresponding to it. I am able to do this when the appln. is picked up from the local system. However, if I have to pick up the application from the web server or an NFS mounted partition on the web server system, I am unable to figure out how to export DISPLAY to display the appln. window on the local system. Can anyo (HowTos)