I have developed a project in Netbeans web application and it is running fine. I want it to run this appication in another machine or system without copying the code.That means i need to run with the URL of the java script page.
我在Netbeans Web应用程序中开发了一个项目,运行正常。我希望它在另一台机器或系统中运行此应用程序而不复制代码。这意味着我需要运行java脚本页面的URL。
For this i have changed the IP address and tried in other machine,In this case the same output page (whatever i executed in my machine) is coming in the other machine also.
为此,我已经更改了IP地址并在其他机器中尝试过,在这种情况下,相同的输出页面(无论我在我的机器中执行)也会在另一台机器中进行。
But it has to take the other machine's input and then the corresponding output page should come..How to do this?? Wot are the possible changes i can do ?? Suggestions are most welcome..!!
但它必须采取其他机器的输入,然后相应的输出页面应该来..如何做到这一点?我可以做的可能的变化是什么?建议最受欢迎.. !!
Hope u understand my ques..!! thnks in advance !!
希望你明白我的问题.. !!先提前!!
1 个解决方案
#1
0
I am not sure I understand your question, so next time try not to abbreviate and be more precise in your question. The more precise your question is, the more precise our answer can be.
我不确定我理解你的问题,所以下次尝试不要缩写并在你的问题中更准确。你的问题越准确,答案就越准确。
IF I understand correctly, you want to be able to access your web-app from another computer via the internet (URL)? Or through your local network?
如果我理解正确,您希望能够通过互联网(URL)从另一台计算机访问您的网络应用程序?或者通过您的本地网络?
If you want to run it off the web, then I think you need to create a webpage, embed the app and upload the page to a server (in order to access it online). For a home network, put it in a shared folder and make sure it has readable/executable properties, then just type in the location (e.g. C:/Documents and Settings/Jane Doe/javaApp.jar) in the browser address bar.
如果你想在网上运行它,那么我认为你需要创建一个网页,嵌入应用程序并将页面上传到服务器(以便在线访问它)。对于家庭网络,将其放在共享文件夹中并确保它具有可读/可执行属性,然后只需在浏览器地址栏中键入位置(例如C:/ Documents and Settings / Jane Doe / javaApp.jar)。
If you want to just be able to have access to it anywhere, just send it to yourself in an email attachment or upload the file somewhere you readily have access to over the internet.
如果您希望能够在任何地方访问它,只需通过电子邮件附件发送给自己,或者将文件上传到您可以通过互联网访问的地方。
Hope that helps?
希望有帮助吗?
#1
0
I am not sure I understand your question, so next time try not to abbreviate and be more precise in your question. The more precise your question is, the more precise our answer can be.
我不确定我理解你的问题,所以下次尝试不要缩写并在你的问题中更准确。你的问题越准确,答案就越准确。
IF I understand correctly, you want to be able to access your web-app from another computer via the internet (URL)? Or through your local network?
如果我理解正确,您希望能够通过互联网(URL)从另一台计算机访问您的网络应用程序?或者通过您的本地网络?
If you want to run it off the web, then I think you need to create a webpage, embed the app and upload the page to a server (in order to access it online). For a home network, put it in a shared folder and make sure it has readable/executable properties, then just type in the location (e.g. C:/Documents and Settings/Jane Doe/javaApp.jar) in the browser address bar.
如果你想在网上运行它,那么我认为你需要创建一个网页,嵌入应用程序并将页面上传到服务器(以便在线访问它)。对于家庭网络,将其放在共享文件夹中并确保它具有可读/可执行属性,然后只需在浏览器地址栏中键入位置(例如C:/ Documents and Settings / Jane Doe / javaApp.jar)。
If you want to just be able to have access to it anywhere, just send it to yourself in an email attachment or upload the file somewhere you readily have access to over the internet.
如果您希望能够在任何地方访问它,只需通过电子邮件附件发送给自己,或者将文件上传到您可以通过互联网访问的地方。
Hope that helps?
希望有帮助吗?