I'm trying to build a taxi web application using Java Spring. I have the website ready (I made it using a template) but when I try to implement the login process, the styling on the page go crazy, everything from the fonts to the images. The login page works, but the site doesn't look good at all :( Do you have any idea what the problem can be? To specify, when I put my website in a "public" folder inside the resources, everything looks fine but I can't implement the login process. Thank you in advance!
CodePudding user response:
If you use the template engine to render a web page, you need to categorize the resources.Static resources(such as CSS and JS) are stored in static and template files are stored in template.
CodePudding user response:
If java works, you can open the browser and Press F12-->network->css to check if you css is loading fine?
e.g 
also if your css path is wrong , F12 --> console, maybe already logout some 404 error
