Today to learn how to create a new java web, I use the IDEA, the following detailed reference links, as follows:
Reference Links: https://blog.csdn.net/zhdkong/article/details/78901654
But I modeled it in the process of creation, they found the need to install tomcat, so I spent some time looking for and how to install tomcat, here include a reference link
Official website to download Tomcat installation package: http://tomcat.apache.org/
Detailed installation tutorial installation package: https://blog.csdn.net/qq_33200509/article/details/84930102
tomcat configuration: [secure point, system and user variables are provided two], as shown below:
Once configured, check with the code: Note: To find the location of your installation in accordance with the tomcat, the author here is to tomcat installed in d drive
Run the above code, there is a long list of things appear to show that you open was successful, as shown below:
After a good start tomcat, in the browser address bar: http: // localhost: 8080 /, shown below represent toamcat successful start, here borrow pictures online [:]
In the final sprint I found a burst exception error:
Exception error is: Address localhost: 8080 is already in use
The reason is that the 8080 window is occupied, the author has found a very detailed solution online
Reference Links: https://blog.csdn.net/qq_42070179/article/details/88379906
The end of the course, the results came out! !
Although very beautiful, but the finish was a little excited. .
Mission: can not write on a map, can be less code and more complete knock demand to dry! !
Figure code is not easy, learning together