Hi I want to export the data in an xml file, when the user click on an export button in the webpage of an application. The directory where export file is to be generated is externalized in a properties file. Export is working fine. Now The same file is to imported(i.e downloaded) using a hyperlink .I am unable to download the exported file. The error is that server is unable to find the path for the exported file. Please let me know how to export the file at defined location so that i may be able to download it from that location using hyperlink import (i.e download).
I have specified the export path in my properties file as basepath = /opt Now when i click on export button, a file is generated under the folder /opt (e.g /opt/export1.xml) Now for importing, I read the opt directory and display the hyperlinks to all the files in the opt directory. Any hyperlink is like as under (e.g /opt/export1.xml) My web application on websphere on LINUX OS. When I click on the hyperlink, Then it gives the error "Resource is not available on the specified path". For more information , plz reply back. Thx and Regards, Raj Jindal