I have had a similar issue with Firefox 3.6.13 on WinXp being detected as a mobile device using WURFL. The work around that I figured out was to add a patch to the web_browsers_patch.xml supplied by WURFL. Now the issues I am having (not sure if this should be it's own thread) is that I want to keep my custom patches seperate to the WURFL's. In that hope I created my own patch file and am attempting to add it to the application-context as
Code:
<bean class="org.springframework.mobile.device.mvc.DeviceResolverHandlerInterceptor">
<constructor-arg>
<device:wurfl-device-resolver root-location="/WEB-INF/wurfl/wurfl-2.0.26.zip" patch-locations="/WEB-INF/wurfl/web_browsers_patch.xml, /WEB-INF/wurfl/buzztrak_browsers_patch.xml" />
</constructor-arg>
</bean>
Even thou the DTD for wurfl-device-resolver states that patch-locations accepts a comma-seperated list of files. I get the following error
Code:
java.io.FileNotFoundException: C:\Program Files\springsource-tool-suite-2.5.1\tc-server-developer-2.1.0.RELEASE\spring-insight-instance\wtpwebapps\buzztrak3-web\WEB-INF\wurfl\web_browsers_patch.xml, \WEB-INF\wurfl\buzztrak_browsers_patch.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
Any thoughts?