本文介绍了IBM Worklight app常见的pdf文件访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用WL.App.OpenURL('http:// localhost:8080 / AbcProj / apps / myApp / common / test.pdf','_ blank');尽管此文件存在于所述路径
I want to use WL.App.OpenURL('http://localhost:8080/AbcProj/apps/myApp/common/test.pdf','_blank'); despite this file exists at said path
其引发错误http错误404
its raising error http error 404
问题访问/ AbcProj / apps / myApp / common / test.pdf
problem accessing /AbcProj/apps/myApp/common/test.pdf
推荐答案
我使用过OpenURL,它对我来说很好。
I have used OpenURL and it works fine to me.
WL.App.OpenURL('http://localhost:8080/AbcProj/apps/myApp/common/test.pdf','_blank');
这篇关于IBM Worklight app常见的pdf文件访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!