Eclipse create web project

1. Open the dialog for creating a web project

 

 

2. Fill in the information of the web project

 

in:

 

 

project name: project name

locaction: all the paths of the project, can be customized, the default is the path of the workspace plus the project name

Target Runtime: Web server for web projects

 

3. Click Next to configure the Java code source folder for the Web project:

 

 

For example, you can define a folder in the following format:

 

4. The last step, select the path where the web page file is located:

 

 

According to the preferences of different users, users can define their own folders of Web pages.

 

Finally, click Finish to complete and create a new one.

 

The final completed project is as follows:

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326606169&siteId=291194637