This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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