java项目用window.open(url)后,url会自动加上项目全路径问题解决
想要这种:
http://188.188.2.49/Record/2013/09/02/10/20130902_100746_PYU.wav
但出现 http://localhost:8090/xxx/xxx/188.188.2.49/Record/2013/09/02/10/20130902_100746_PYU.wav
导致无法取到所需地址
只需在window.open(url)的url前加上 http:// + url即可
http:// + 188.188.2.49/Record/2013/09/02/10/20130902_100746_PYU.wav4379