Mittal, What you are trying to do poses a security problem. If you are not using an applet, you will not be able to 1) read files on the client machine's hard disk or 2) run an executatble program on the client machine. If you choose to use an applet, then you might be able to read and execute a file on the client's machine if they explicitly allow you to do so by editing their .java.policy file. This may be feasible if all of the clients are within a company's intranet but would not be feasible if your clients are on the Internet.
On the Internet, someone would have to be pretty stupid to give you such permissions since they would be giving you the ability to snoop on their computer and possibly delete files. Regards, Richard At 05:08 PM 10/28/2002 -0500, you wrote:
Hi All, I have a situation in which there is a link displayed to the user, the link is reference to say some ".exe" file, that runs in some particluar software, now if the software exists on the Clients machine, the appropriate software will run that exe file, but when the software doesnot exists on the Client machine, the User should be redirected to the site from where the User can download the appropriate software..Any pointers on the problem will be helpful Regards, Mittal S.Bhiogade =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com