this is naveen .i created a jar file in net beans .its working in stand alone application and also when i am using in tomcat 7 calling through Jsp file its working properly.but when i posted this in to the server or access through client server architecture its not working. i.e when i am calling my jar through jsp file my application is not opening in my client machine instead of that it is opening in server itself .please help me to fix this problem how can i access my jar file.
Harpreet Singh janda wrote:JSP's and servlets always run on server inside a container. So if you are trying to execute a jar file using jsp it will always be executed on Server not on the client machine. You have to do alternative Can you please elaborate your requirement?
actually i am game project i created scrambled game in swing using Net Beans .my jar file is working in stand alone system by using tomcat 7.0 server.But i posted my jar file in server .i called my jar file from my client system through jsp using "Runtime.getRuntime().exec("/home/ubuntu02/Desktop/NaveenBackup/JavaApplication1.jar");" this code .my application is running in server itself instead of in my client system .how can i fix this problem .what is the alternative solution to fix this problem .please help me to fix this problem . i have to post this in ot the server. waiting for your reply .
.my application is running in server itself instead of in my client system .how can i fix this problem .what is the alternative solution to fix this problem .
Bear already told you, and I already told you that Bear told you. Why are you ignoring our posts? They point to the solutions that you will be using if you want to get this done. The sooner you start considering this, the sooner you'll be done.