The dialog box opened but when i access this from a remote machine, it is still opening in the host where i hosted the tomcat server. Is there any way to bring the open/save dialog box in the remote machine when i access from remotely? pls help

On which machine is the dialog box open? On the server or on the remote machine?

What code are you executing on the server and what code on the remote machine?

Are you saying that when you execute code on the remote machine that a dialog box opens on the server? Why would the code do that? The human is at the remote machine so that is where the dialog should open.

On which machine is the dialog box open? On the server or on the remote machine?

What code are you executing on the server and what code on the remote machine?

Are you saying that when you execute code on the remote machine that a dialog box opens on the server? Why would the code do that? The human is at the remote machine so that is where the dialog should open.

When i execute this code from remote machine, the dialog box gets opened in the machine where i hosted the code and not in the remote machine. I have tried with JNLP, since JNLP requires the jar file of ImportServer.java, i have created the jar file.I dont know how to get the value of String variable path through JNLP. Need clarity on this.

Since its a web application with Struts framework,it holds a context root with which the entire code can be accessed (For Eg:starting from login page).This web/dynamic application i have done using Eclipse IDE...

Actually, the welcome page will be shown when i hit the URL, the welcome page may be index.jsp or login.jsp. But the above java code will be executed when i click the submit button in the page and the page will be returnd to the browser.