Hi, i have a web application written in struts in deployed on tomcat. i want to provide use with a button on my UI, so when the button is pressed it calls shell or a bat file which will start an independent java program which will do some file export stuff. May i know how can i can i execute the shell or the batch srcipt. Any idea Thanks
The other thing i wanted to know is that i dont want user to start duplicate process. So for Example if the user already clicked the file and the file generation is in process, i dont want to start one more process when i the user accidently clicks on the button. May i know how can i check for the process whether it is already running