publish Java Web Apps on Azure website
Publishing Java Web Apps on an azure site is easy, you can use Git to publish from source code, or you can use Ftp/ftps to publish directly, this section describes the FTP approach.
Prepare your Java Web App's war package, in this case, using Eclipse's export feature, right-click on your project, select "Export", and export your project as a war package as prompted
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222534159-1639782857. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222541691-2081373373. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222543831-1832959320. PNG "style=" border:0px; "/>
2. Select an appropriate FTP tool, in this example, using the free open Source Tool filezilla, download and install: https://filezilla-project.org/
3. Login to the admin homepage of Azure, in the "dashboard" screen of your website, you can find the FTP address, username and password that you need to upload to your Web site, which is the deployment password you set in Tutorial 1:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222545831-482970991. PNG "style=" border:0px;line-height:1.5; "/>
4. Use FileZilla to connect to your Web site, go to the root directory/site/wwwroot, you will see a webapps directory, if you have done Tomcat on the Web application deployment, then this WebApps directory is tomcat WebApps directory, enter the WebApps directory and upload your war package to the directory: 650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/ 201602/845013-20160219222548003-1615329897.png "style=" border:0px;line-height:1.5; "/>650) this.width=650;" src = "Http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222551831-751250182.png" style= "border:0px; line-height:1.5; "/>
5. After the war package upload is complete, wait a few minutes, complete the deployment, then use your Web site URL, plus your Web application context, such as my app is greenhouse, then my visit site is my url+/greenhouse:650) this.width=650; "Src=" Http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222554003-1018028786.png " Style= "border:0px;line-height:1.5;"/>
So far, you'll see your app successfully deployed and running correctly.
Customizing the Azure Site Java Runtime Environment (2)