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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start exe-file from jsp page

Status
Not open for further replies.

Pichdude

Programmer
Aug 24, 2005
66
SE
Hi,

First I would like to say that I am not writing any malicious code.

Now to my issue that I hope someone can help me with. Is it possible to have a link, on a jsp-page, to an exe-file located on a common resource and have that software started? I do not want the exe to be downloaded to the computer running the jsp-page, I want the exe to run once the link is clicked.

Best regards

Pichdude
 
You can use Runtime.exec() to execute a command line order, but keep in mind that it will be executed in the server, not in the client.

Cheers,
Dian
 
Thanks, but I want to run to run it on the client. Is that possible at all or are there restrictions for this in Windows or IE?
 
You cannot run anything in the client without downloading it.

And yes, you need user explicit agreement.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top