CSS not working - Maven & EE

孤街浪徒 提交于 2019-12-25 02:33:04

问题


This is a quite basic question, but I just can't solve it. At first I had normal Java project and then I converted it to Maven Project (Configure -> Convert to Maven Project). Now the folder structure is looking like this.

I don't have webapp -folder, is that a problem? Everything else is working, but I can't solve out the right path to CSS -file.

<link rel="stylesheet" type="text/css" href="views/styles/common.css"/>

I have this in my jsp's head, but it isn't working. I have also tried extend or shorten that same pathway without succeed.

How to get this working?

来源:https://stackoverflow.com/questions/24652697/css-not-working-maven-ee

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!