First look at the directory structure:
Previously mentioned in the Web. XML configuration, but here admin_index.jsp still can't reference
<link rel= "stylesheet" type= "Text/css" href= ". /.. /css/bootstrap.min.css ">
Or
<link rel= "stylesheet" type= "Text/css" href= "/css/bootstrap.min.css" >
The path can be written by Ctrl + Left to open the corresponding file, but the style will not appear.
After the https://www.cnblogs.com/x_wukong/p/3969114.html mentioned:
The Web-inf layer directory can be ignored when a file accesses a resource file in the Web-inf directory.
Therefore, the correct path to referencing the CSS in admin_index.jsp should be:
<link rel= "stylesheet" type= "Text/css" href= ". /css/bootstrap.min.css ">
CTRL + Left button cannot be opened, but the style appears.
Also, I don't understand if I can't reference it from the root directory.
Bishi: The digital platform of University examination Information (iv)--web-inf internal JSP file reference CSS