I created a batch file, when executes gives a preview window(using swings & JFrame). I created another java fie in which used a Process object and Runtime.getRunt ime().exec(path ) , where path specifies the location of above batch file. when indepedantly executes i am able to execute the bath file through this second program.
Now the problem is that i want to execute the batch file in my JSP where i have tried a lot to execute the batch file ,but nothing worked so far..no jsp erorr too..
Can any one help me?very urgent....
I am using Tomcat 5.5 and jdk1.5.08 where all path have set properly..
Thanks in advance..
Byjufromgamut
Now the problem is that i want to execute the batch file in my JSP where i have tried a lot to execute the batch file ,but nothing worked so far..no jsp erorr too..
Can any one help me?very urgent....
I am using Tomcat 5.5 and jdk1.5.08 where all path have set properly..
Thanks in advance..
Byjufromgamut
Comment