1 Create your WEB project
2 Select Create Project WEB
3 WEB project to your name, pay attention to your saved position
4 to create a lib directory for storing your jar package, IDEA can only create a lib directory manually
5 to find a jar package I have here with MySQL8 driver package, for example, copy it to your lib directory
6 after copying, pasting in lib can Ctrl + v
7 This time only copied, not build it. Choose to build your jar packets to your web project
right mouse button here
this selection Module Library on the WEB is independent of your current project created
because you build just the beginning of the WEB project selection is to create WEB project under Module
(if select Project) is your entire Project share.
8 to write a simple program to test JAR you just imported are available.