您的位置:首页技术文章
文章详情页

android - 安卓的webView的loadUrl打不开,太长的url超链接,求解

【字号: 日期:2024-02-27 11:13:23浏览:36作者:猪猪

问题描述

这个链接在PC端,是没问题的啊。

但是webView的loadUrl就说找不到网页。请求怎么解决?

http://filec.cat.com:8091/yhaa_app/order.html?startPointId=1147&endPointId=421&xx=%7B%22sections%22%3A%5B%7B%22fromId%22%3A1147%2C%22fromName%22%3A%22%u4E1C%u839E%u5927%u6717%22%2C%22fromType%22%3A%22DOOR%22%2C%22price%22%3Anull%2C%22price20%22%3A100%2C%22price2X20%22%3A200%2C%22price40%22%3A200%2C%22price40HQ%22%3A200%2C%22toId%22%3A23%2C%22toName%22%3A%22%u9EC4%u57D4%u6E2F%28%u96C6%u53F8%u7801%u5934%29%22%2C%22toType%22%3A%22BARGEPORT%22%2C%22transType%22%3A%22TRUCK%22%2C%22%24%24hashKey%22%3A%22object%3A187%22%7D%2C%7B%22fromId%22%3A23%2C%22fromName%22%3A%22%u9EC4%u57D4%u6E2F%28%u96C6%u53F8%u7801%u5934%29%22%2C%22fromType%22%3A%22BARGEPORT%22%2C%22price%22%3Anull%2C%22price20%22%3A285%2C%22price2X20%22%3A570%2C%22price40%22%3Anull%2C%22price40HQ%22%3A400%2C%22toId%22%3A31%2C%22toName%22%3A%22%u68A7%u5DDE%u6E2F%28%u674E%u5BB6%u5E84%u7801%u5934%29%22%2C%22toType%22%3A%22SHIPPORT%22%2C%22transType%22%3A%22BARGE%22%2C%22%24%24hashKey%22%3A%22object%3A188%22%7D%2C%7B%22fromId%22%3A31%2C%22fromName%22%3A%22%u68A7%u5DDE%u6E2F%28%u674E%u5BB6%u5E84%u7801%u5934%29%22%2C%22fromType%22%3A%22SHIPPORT%22%2C%22price%22%3Anull%2C%22price20%22%3A400%2C%22price2X20%22%3A800%2C%22price40%22%3A1200%2C%22price40HQ%22%3A1200%2C%22toId%22%3A20%2C%22toName%22%3A%22%u9752%u5C9B%u6E2F%28%u8FDC%u6E2F%u7801%u5934%29%22%2C%22toType%22%3A%22SHIPPORT%22%2C%22transType%22%3A%22SHIP%22%2C%22%24%24hashKey%22%3A%22object%3A189%22%7D%2C%7B%22fromId%22%3A20%2C%22fromName%22%3A%22%u9752%u5C9B%u6E2F%28%u8FDC%u6E2F%u7801%u5934%29%22%2C%22fromType%22%3A%22SHIPPORT%22%2C%22price%22%3Anull%2C%22price20%22%3A400%2C%22price2X20%22%3A500%2C%22price40%22%3A600%2C%22price40HQ%22%3A600%2C%22toId%22%3A421%2C%22toName%22%3A%22%u9752%u5C9B%u5E02%u533A%22%2C%22toType%22%3A%22DOOR%22%2C%22transType%22%3A%22TRUCK%22%2C%22%24%24hashKey%22%3A%22object%3A190%22%7D%5D%2C%22totalPrice20%22%3A1185%2C%22totalPrice2X20%22%3A2070%2C%22totalPrice40HQ%22%3A2400%2C%22%24%24hashKey%22%3A%22object%3A168%22%7D

问题解答

回答1:

不知道你的PC端是怎么打开的,反正我是打不开。

回答2:

参考资料:What is the maximum length of a URL in different browsers?

标签: web