How to deploy Java web application project from Eclipse to live Tomcat server?

后端 未结 4 2172
终归单人心
终归单人心 2020-12-13 07:37

I have developed an web application using HTML, Java Servlet and all. While developing I was using Tomcat to deploy it in order to test it.

Now my development is don

4条回答
  •  我在风中等你
    2020-12-13 07:58

    For that we have live server but as I am new to all this I dont know how to deploy my java web application on live server?

    I assume by this you meant , you have a public IP assigned to a server. Now you can install tomcat into this server and open the tomcat port for public and you will be able to access.

    Now build a war file of your webapplication and put it into web-apps dir of the tomcat and start the server

提交回复
热议问题