Home > OS >  why my external css file not loading with html file on my tomcat server
why my external css file not loading with html file on my tomcat server

Time:01-06

I am beginner and I don't know why my external studentinformation.css file is not loading when I run my Signup.html on tomcat 3.2 or above but loads when I right click and open my html file with the chrome browser. Both of my html and css files are in WEB-INF folder. No error in the console for css. A screeshot for the reference of my eclipse ide

CodePudding user response:

Try removing the (.) and the (/) when linking to your css file.

CodePudding user response:

I tried on latest version of tomcat server v10.0 and my external css works fine on it. Older versions of tomcat only runs internal and inline css.

  •  Tags:  
  • Related