hi all
I am working on an application (i.e. a library). I am usin gjava as a front-end and mysql as back-end. In this application I want to open book from the interface through java. The books are in different formats say .doc or .pdf. I want that the books to be opoen in their respective environment. For example if the extension is .doc then it should be opened in MS Word.
I search on net and found that the following statement works for the same:
Runtime.getRuntime().exec();
But my problem is that I am not getting what different parameters has to be passed and how to pass them in the funciton exec(). Also I don't know how exec() function works.
Hence I request you to please reply me as soon as possible.