The first method is as follows:
Just put our project folder into Tomcat, and here I'm doing a test project OA,
Start Tomcat, open the browser, enter Localhost/oa to open your file, note: When the visit, if we do not locate the specific page, will automatically find a page called index.html, here I changed the 80 default port. So the browser directly does not enter
The second method is as follows:
Configure in Server.xml
First move the previous project file OA to the random disk, I moved it to the E disk,
Path is the name of the path you want to enter in Liu's browser (not strictly defined), and match the above
The third method is as follows:
Find the directory below
Apache-tomcat-7.0.57\conf\catalina\localhost
[b] In the browser I entered localhost/aaa and path is empty
(2) Deploy the project in eclipse
I'll take a picture below to illustrate ()
Start creating files and packages for Web projects
Modifying the path of a classpath
Run Tomcat after installing the plugin.
Note: You need to configure Server.xml
Three ways to deploy a Tomcat project