首页 新闻 会员 周边

移动端html5实现离线存储manifest

0
悬赏园豆:10 [待解决问题]

我tomcat中conf中的web.xml配置
<mime-mapping> 
<extension>manifest</extension> 
<mime-type>text/cache-manifest</mime-type> 
</mime-mapping>
html页面中增加<html manifest="offline.manifest">
offline.manifest页面中
CACHE MANIFEST 
# 这一句必须存在,而且必须放在头部 
# 指明缓存入口 
CACHE: 
dian.html
css/shop_msg.css
js/position.js
img/90x90.jpg
# 以下资源必须在线访问 
NETWORK: 
66.html 
# 如果index.php无法访问则用404.html代替 
FALLBACK: 
/index.php /404.html 
为什么不成功呢??求助

掏心的驴的主页 掏心的驴 | 初学一级 | 园豆:184
提问于:2013-10-29 17:56
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册