浏览器总是下载sakai resource工具中的HTML文件
[转自http://www.sakai-edu.net/node/25]
当我们想在其他地方引用resource工具中的资源时(通常是一个html文件),可能会遇到浏览器直接下载该资源,而不是在浏览器中直接显示。
这种情况可以通过修改sakai配置文件来解决
view sourceprint?1 # Force browser to download rather than render inline any file served from content hosting with a content-type of text/html.
# Default=true
content.html.forcedownload=false
[思开社区 http://www.sakai-edu.net ]