I have a Java web application, which executes cmd command to load remote desktop window. Now I want everyone to load the remote resktop window from their pc through that web app. The problem is remote desktop window is loaded in the server NOT from the PC of the person who accessed the web app.
How do I make the web app to execute the command in the users pc and not in the server.

is there somewhat of a client application on the 2nd computer connected to that web-app?

then how do you think you'll be able to have any kind of access to that system? also, I doubt Java to be the best choice for such an application.

not going to happen, period.
And for very good reasons. Performance, security, etc. etc.