【发布时间】:2016-09-30 07:45:12
【问题描述】:
我编写了 Tapestry 应用程序,我应该将我的 css 放在 Tapestry css 之后。
我在我的挂毯页面对应的 java 文件中添加了以下代码行:
@Import(stylesheet="http:/localhost:8080/ui-resources/css/styles.css?in_root=0")
void afterRender() {
}
它工作正常。我的问题是我应该给出 css 的相对路径,而不是像现在这样的完整 url。
【问题讨论】:
标签: tapestry