【发布时间】:2016-04-14 15:14:48
【问题描述】:
这是我的目录结构。
WebContent
META-INF
WEB-INF
WebSites
Index
index.html
css
animate.css
在web.xml 中,我将welcome-file 列表指定为>/WebSites/Index/index.html。
然后加载没有任何样式的html。
当我将 css 文件夹放在 WebContents 文件夹中时,样式会在 web.xml 中加载而没有任何修改。有什么办法可以解决这个问题吗?
【问题讨论】:
-
能不能把index.html片段和css的声明放在一起?
-
如果我把它改成 "./css/animate.css" 会解决吗??
-
我尝试了“./css/animate.css”和“/Websites/Index/css/animate.css”但没有成功。
标签: html css jboss wildfly wildfly-9