Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an external .exe

Status
Not open for further replies.

Jay2003

Programmer
Feb 26, 2003
147
GB
Hi.

Is it possible to can an extenal application from a button click on a web page. I have seen some pointers to the

Runtime.Exec(string|command)

but this is all the information that I can find, Any pointers would be very much appreciated.

Regards

Jason
 
Remember that all Java code in web applications runs on the server - so even if a user clicked "run some app now" on a browser, it would execute on the server ...


--------------------------------------------------
Free Database Connection Pooling Software
 
...unless that 'button' is part of a Java Applet. Can the security policy be tailored to allow Applets to call applications on the browser's machine? Maybe this is what Jason is asking?

Tim
 
Well, yes, a signed applet I *believe* would allow this ...

I guessed he was talking about an actual HTML page though because this is the JSP/Servlet forum :p

--------------------------------------------------
Free Database Connection Pooling Software
 
That is entirely possible sedj. There have been enough questions posted in the wrong forums lately, even I'm getting mixed up :) Don't you wish they'd renamed 'JavaScript' a long time ago?

Tim
 
I know it's been called other things before. I wish they'd change it back. It's especially annoying when job agencies witter on about 'Javascript skills' when it's obvious they mean Java.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top