I have developed a small demo web app which is hosted on tomcat. When I access this app from my localhost, everything works fine. But when I try to access it from other computers using my machine’s IP, then I am able see the web page but the CSS is not working as expected (the html entities are not at there places).
I am using HTML5 and external style sheets to display the web page.
I tried to find out the solution for this, but didn’t find it. I really appreciate help from you guys on this.
Thanks in advance.
You can set your CSS path like this, for example,
Instead of
http://localhost/use simply/