Hi everyone, I'm new to JSP so excuse me if this sounds dumb!! Is it possible to invoke an external executable (an .exe file) from a JSP page? My JSP page will capture the configuration details for the program that I've written. Once the parameters have been configured, a start button on the JSP page should invoke the .exe Is this possible? Are there any flaws/problems that you forsee? Awaiting your inputs. Thanks, VJ.
Joined: Nov 07, 2000
Well, since a JSP page is simply a servlet then I don't see why not. Try something like this, <% Process p = Runtime.getRuntime().exec("ls -a"); // etc ... %> Of course, you'd add your own command as the exec parameter. Sean
Joined: Jul 31, 2002
Thanks for your reply, Sean. Will there be any performance issues for such an architecture? Regards, VJ
Joined: Aug 23, 2001
Will there be any performance issues for such an architecture?
It depends. Each time you start an exe , it will be a separate Win NT process .. if the number of users are large, then ... well you can understand ...