如何集成 Web 应用程序

发布于 12-25 14:33 字数 265 浏览 2 评论 0原文

我已经开发了一个Web应用程序,在服务器端使用java servlet,在客户端使用html ajax javascript。

Web 应用程序已经在生产服务器上运行,现在我必须集成新开发的应用程序。

我应该在现有应用程序的主页上提供链接吗?

但新开发的应用程序有它自己的 web.xml 并且现有应用程序也必须有 web.xml 无论我不确定如何进行。请给我任何集成的想法,

我应该为集成做什么。

I have been developed a web application using java servlet at server side and html ajax javascript at client side.

A web application is already running at production server and now i have to integrate the newly developed application.

should i just give the link on the homepage of existing application?

but the newly developed application has it's own web.xml and also the existing application must be having web.xml whether i am not sure how to procedd. please give me any idea to integrate

what should i do for the integration.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

面犯桃花2025-01-01 14:33:39

据我所知,您希望在生产中现有 Web 应用程序的主页中提供一个链接,指向您开发的新 Web 应用程序。

您的新Web应用程序是独立的应用程序,具有自己的web.xml,您可以通过构建单独的war文件并将其部署到您的服务器来部署它。

对于更改现有Web应用程序主页中的链接,如果是纯html页面或JSP页面,则更改主页中的链接即可进行热部署。只需再次部署 war 文件即可。您的服务器将自动替换 html 和 jsp 页面。

As far as I can get, you want to give a link in the home page of your existing web application in production pointing to your new web app which you developed.

Your new web app is independent application, with its own web.xml, you can deploy it by building a separate war file and deploy it to your server.

For changing the link in the home page of your existing web application, if it is a plain html page or if it is a JSP page, then change the link in home page and then you can do hot deployment. Simply deploy the war file again. your server will automatically replace the html and jsp pages.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文