Forums Register Login

How to call an .exe file from a jsp page

+Pie Number of slices to send: Send
How can i call a .exe file from inside a jsp page.
Vikas Kaushik
Sun Certified Programmer for Java2 Platform
+Pie Number of slices to send: Send
Use the standard Java class Runtime. The following code:
Runtime.getRuntime().exec("foo.exe")
Should be what you're looking for. Of course, you'd have to do this in a scriptlet, but I'm hoping you knew that
Kyle
+Pie Number of slices to send: Send
Thanks a lot ,Sir, for the reply.
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1994 times.
Similar Threads
JSP to Servlet call
Executing Unix command in Java
How to call an executable (.exe) from java
what is this "synacast://xxx"
Jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:38:55.