Posted: Wed Oct 29, 2008 2:32 pm Post subject: how to execute DOS command through java jsp
I have some application which is made in DOS. This Application is on server. I want to execute this "DOS" command through jsp or java through tomcat server. But i dont know how to run DOS command through java. Or what package i need to run this command in java. Can anybody help to give code to execute DOS command and get output in file by java servlet or jsp.