0

In my Spring Boot app for some reason CSS and JS files are looked up for in incorrect folder. This happens only on edit, when I use the same form for adding new objects everything works fine. As you can see in the console, there is additional 'editGame' element in the path. Where did it come from?

enter image description here

1
  • please to add you newGame.html code for more investigation Commented Jun 28, 2017 at 14:36

1 Answer 1

1

Did you add jquery and bootstrap on your project?

In my project i type as href="/css/style.css" instead of href="css/style.css" and it works.

Maybe thats the problem if you added required files.

Sign up to request clarification or add additional context in comments.

1 Comment

Yep, it did help. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.