Use deploy war package running in Tomcat

Preparation Tool, Tomcat, eclipse

1 Select the package you want to export the war, and then select the item you want to operate in accordance with I circled

2, and then locate the Web package, web WAR.file followed by a click on the go, you can not find the search above

3 The first is that you go to war to export the package name, the second is your bag war path

4 Here I was introduced into the E disk

5 this war packet replication, and then you go to the Tomcat installation address

6 Then click Tomcat in, find a file called webapps folder

7 you just copy the guide out of the war package on the line here

8 return on your floor to find your bin, click on the go

9 found startup.bat click to run this

10 run like that, it shows a successful run it

11 and then go to your browser's address marked localhost: port your number / name of your project, you want to run jsp, the following is the result of running, I turn over the port number to me is not the default port number

Guess you like

Origin blog.csdn.net/qq_20757489/article/details/91973957