如何为java Web应用程序创建Web链接? [英] How to make a web link for a java web application?

查看:170
本文介绍了如何为java Web应用程序创建Web链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Netbeans Web应用程序中开发了一个项目,运行正常。我希望它在另一台机器或系统中运行此应用程序而不复制代码。这意味着我需要使用java脚本页面的URL 运行



为此,我已经更改了IP地址并在其他机器中尝试过,在这种情况下,相同的输出页面(无论我在我的机器上执行了什么)也会进入另一台机器。



但它必须接受其他机器的输入,然后相应的输出页面应该来......如何做到这一点?我可以做的可能的变化是什么?建议最受欢迎.. !!



希望你理解我的问题.. !!先提前!!

解决方案

我不确定我理解你的问题,所以下次尝试不要缩写并在你的问题中更准确。你的问题越准确,答案就越准确。



如果我理解正确,您希望能够通过互联网(URL)从另一台计算机访问您的网络应用程序吗?或者通过您的本地网络?



如果你想在网上运行它,那么我认为你需要创建一个网页,嵌入应用程序并将页面上传到服务器(以便访问它在线)。对于家庭网络,将其放在共享文件夹中并确保它具有可读/可执行属性,然后只需在浏览器地址栏中键入位置(例如C:/ Documents and Settings / Jane Doe / javaApp.jar)。 / p>

如果您希望能够在任何地方访问它,只需通过电子邮件附件发送给自己,或者将文件上传到您可以通过互联网访问的地方。



希望有帮助吗?


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.

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.

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 !!

解决方案

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?

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.

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?

这篇关于如何为java Web应用程序创建Web链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆