Apply what you have learned, welcome to reprint, contact QQ:289325414 for more
One, create a maven-web project
Created, the directory is as follows
Also get the resources java code folder out
Right-click the project-"Build Path
Select the second one
The directory structure changes, just create your own code structure folder under the java package