davioooh
davioooh

Reputation: 24676

Launch an application on button click from a web page

In my web application I need to launch a Windows application installed on client machine when a button in the page is clicked.

I know there are security policies in browsers that avoid this by default, but I also know application that do this. An example could be online meeting, web conferencing applications like WebEx or GoToMeeting.

How they do that?

I'm working with Java, so I'm wondering if Java Applets are an option to achieve this.

Is there some other well known way to solve this issue?

NOTE application execution MUST be allowed by user

Upvotes: 0

Views: 500

Answers (2)

Andrew Thompson
Andrew Thompson

Reputation: 168825

The best way to deploy a Java desktop application is using Java Web Start.

And forget applets. Soon Chrome won't be able to load them (along with a number of other plug-ins) at all.

Upvotes: 0

szarlih
szarlih

Reputation: 135

you can achieve it with applet. but user must allow to run it. it is hard to run some extern application from button or link because this is potentially danger behaviour. Remember the applet can not get access to the files on user computer and other servers (unless it is digitally signed)

Upvotes: 0

Related Questions