简体   繁体   English

Java Web应用程序部署

[英]Java Web Application Deployment

I am trying to deploy my java web application to Azure using FTP. 我正在尝试使用FTP将Java Web应用程序部署到Azure。 Is the .war file enough to be uploaded? .war文件是否足以上传? Or all the project files have to be uploaded? 还是必须上传所有项目文件?

I believe that .war file is enough, because in that file you have everything that your java web application need, like the java classes, servlets, static web pages, etc, as you can see in this example, opening the war file: war file 我相信.war文件就足够了,因为在该文件中,您拥有Java Web应用程序所需的一切,例如java类,servlet,静态网页等,如在本示例中看到的,打开war文件: war文件

In fact, when we use, for example, the Tomcat server, that's the only thing that the server use for running the web application. 实际上,例如,当我们使用Tomcat服务器时,这是该服务器用于运行Web应用程序的唯一内容。

I hope I have helped you! 希望我能对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM