WEB-INF目录下加载CSS和JS问题?????
我的目录结构
WEB-INF
|_view
|_js
| |_default.js
|_css
| |_style.css
|_index.html
index.html:
文件中<script type="text/javascript" src="js/default.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
该文件始终不能加载进来,页面没有样式,如果把style.css问复制到index.html就可以。。
我index.html是通过运行reg.action
<action name="*" class="UserAction" method="{1}">
<result name="regsiter">/WEB-INF/view/index.html</result>
</action>
请问这是什么原因呀?