IE 6 和 7 被检测为移动设备

发布于 2024-10-19 05:04:03 字数 600 浏览 7 评论 0原文

我们正在使用 wurfl-device-resolver 来处理访问我们应用程序的移动设备,一切都非常顺利。但是 Internet Explorer 被检测为移动设备。我们已经添加了官方 Web 浏览器 xml 补丁,本应解决此问题,但没有结果。这就是设备解析器配置的样子:

<mvc:interceptors>
    <bean id="deviceResolver" class="org.springframework.mobile.device.mvc.DeviceResolverHandlerInterceptor">
        <constructor-arg>
            <device:wurfl-device-resolver root-location="/WEB-INF/wurfl/wurfl.zip" patch-locations="/WEB-INF/wurfl/web_browsers_patch.xml"/>
        </constructor-arg>
    </bean>
</mvc:interceptors>

有什么想法吗?

We are using wurfl-device-resolver to handle mobile devices that access our application and everything is working as a charm. However Internet Explorer is being detected as a mobile device. We already added the official web browser xml patch that is supposed to solve this but with no results. This is how the device resolver configuration looks like:

<mvc:interceptors>
    <bean id="deviceResolver" class="org.springframework.mobile.device.mvc.DeviceResolverHandlerInterceptor">
        <constructor-arg>
            <device:wurfl-device-resolver root-location="/WEB-INF/wurfl/wurfl.zip" patch-locations="/WEB-INF/wurfl/web_browsers_patch.xml"/>
        </constructor-arg>
    </bean>
</mvc:interceptors>

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文