N/APosted on - 03/08/2012
I am making an application using phonegap and dojo.I am able to use ajax and can read data from server.This works fine in android emulator. I can also type the URL in my desktop browser and see the values. Iam using spring with json objects.But when i type the same URL in my phone browser it gives me error "error 404".
Please somebody help me.
The URL is public.
Phone browser gives 404 error
You may want to try the following possible solutions I have listed.
These have been tested using different mobile phones,and each one was able to solve the issue.
1. In your mobile browser, if you type the URL with the "www.", remove it and see if it works.
2. Go to your mobile browser's settings and choose "clear history" and "clear cookies".
3. Verify if you have entered the URL correctly. If the URL contains for example “http://www.mysite.com/pictures/extras.html”, remove “extras.html” to display “http://www.mysite.com/pictures/ and press enter otherwise, remove remaining characters until you reach http://www.mysite.com/. If this did not work, you can also change the extension “.html” to “.htm”.
Hope this helps.