Search code examples
javawebwarfilezilla

Upload WAR file to an FTP server


I've just finished a web project, working with Struts2, and now I want to add this project to my FTP site. The site runs smoothly on Tomcat 8, but I am not sure how to deploy it to an actual site.

How do I add this .WAR file that has .jsp and .xml files to a website? I've tried to just put it in a directory and launch it with fileZilla, and it doesn't work.

What should I do to launch my Struts2 project to my FTP site?


Solution

    1. In FileZilla put your user name and password.
    2. In left side will show your machine file
    3. On right side put path of your webapp folder, It will come in mail when you buy any server from hosting providers or ask them.
    4. Upload your .WAR file in webapp folder.
    5. Restart Tomcat.