Deploy war package under tomcat7 under windows7

The first step is to download tomcat, install and configure it, and I will not describe it here.

For details, see: http://jingyan.baidu.com/article/624e7459a7d6e734e9ba5a70.html


Step 2: export ---> war in eclipse

as shown below:



Step 3: Find your own tomcat installation directory, and type the The war package is placed in the webapp directory of tomcat, as shown in the figure below:






Step 4: In the bin directory of tomcat7, start the startup.bat





browser to access: http://ip:8080/project name address

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326484079&siteId=291194637