Execute AND display system commands
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bill_Green
Posted On:   Friday, December 13, 2002 12:53 PM

Hello.

I need to execute a system command through a jsp, such as:


Process p = Runtime.getRuntime().exec("C:\setup.exe");


p.waitFor();



The problem I'm having is displaying the output of the command dynamicaly through a TextArea on the current JSP.


Could someone please suggest a way to accomplish this?



Thanks!


bill

Re: Execute AND display system commands

Posted By:   Sujatha_Gopal  
Posted On:   Sunday, December 15, 2002 09:00 PM

Check the file path = C:\setup.exe.


Do you mean to say the setup file is in C drive of the Web Server or the Client Machine?




Try in this way. Keep the SetUp file also in the Web Server and access by giving the web server path.
About | Sitemap | Contact