• 周四. 10 月 3rd, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

Java Web Learning (2) — how to build Java Web application development environment in idea

King Wang

1 月 3, 2022

JavaWeb Study ( Two )— How to be in IDEA Build in JavaWeb Application development environment

01 Get ready

  • Why install the server ?

    Local web Resources cannot be accessed by users , whatever Web Resources want to be accessed by remote computers , Data must be sent to visitors through a corresponding network communication program , And the server is to help us complete this part of the network communication work .

  • Get ready :

    1.1 The server :Tomcat 9

    Get into http://tomcat.apache.org/ stay download Bar Download Tomcat 9

    Decompress after downloading

    start-up Tomcat: open bin Catalog , find startup.bat, Double-click on the run .( Be careful : Operation period , Don’t turn off the console )

    Open the browser , Get into localhost:8080, If you can successfully jump to Tomcat The home page shows that the installation is successful .

    close Tomcat: open bin Catalog , find shutdown.bat, Double-click on the run .

    1.2 IDEA:IDEA2018 edition


02 Set up the environment

1. open IDEA, Create a WEB project
 Insert picture description here
 Insert picture description here
 Insert picture description here

2. To configure Tomcat The server
 Insert picture description here

 Insert picture description here
 Insert picture description here

3. add to Tomcat The server
 Insert picture description here

4. To configure Deployment
 Insert picture description here
 Insert picture description here
 Insert picture description here
5. If the browser can pop up the following page , Indicates that the environment has been built successfully
 Insert picture description here

发表回复