Issue
I download source code from this link
https://www.onlinetutorialspoint.com/spring/spring-mvc-login-form-example.html
href="https://www.onlinetutorialspoint.com/wp-content/plugins/download-attachments/includes/download.php?id=206" rel="nofollow noreferrer">https://www.onlinetutorialspoint.com/wp-content/plugins/download-attachments/includes/download.php?id=206
I can run it well and I want to include bootstrap css to project. In this project they setup config:
<resources mapping="/resources/**" location="/resources/" />
I tried to add bootstrap.css to resources folder and include it in head tag of jsp file. But it can not read css file.
<link href="<c:url value="/resources/bootstrap.min.css" />" rel="stylesheet">
I added css to /webapp/resources folder.
Here are my project file structure.
What is problem in my source code?
Solution
Finally, I changed spring mvc from 3.x to version 4, it worked.
Answered By - Hien Nguyen
Answer Checked By - Mary Flores (JavaFixing Volunteer)