• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xmlhttprequest is not sending any request to the servlet

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys..i'm making a widget for s60 device.. using diagnostic tool of the emulator i've found out that no request sending to the server..but no error occurs when i run the code..here is my code in sending the httprequest...




 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I take it you have made sure by some means that all code -up to and including line 47- are actually executed?

How do you know that the request isn't sent, given that the code doesn't do anything in case it's successful?
 
jen lemque
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
using symbian 3rd edition emulator i found out that no request is sending in my servlet using the diagnostic tool of the emulator..were we can find the traffic, system out and task manager of the application running in theemulator...
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So what's the answer to my first question?

Are you certain that the emulator is capable of doing this? Meaning, have you ever gotten it to send a successful request via XMLHttpRequest?
 
jen lemque
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm not sure if my code doesn't violate any rules in coding http request..I can't find a good tutorial about that..That was came from different idea in the internet..
s60 emulator can accept ans send http request according to its specs...Can you check my code is it's not violating coding rules of xmlhttp request?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want us to help you, then you need to provide the information that's necessary to do so:

I take it you have made sure by some means that all code -up to and including line 47- are actually executed?



have you ever gotten [ the emulator ] to send a successful request via XMLHttpRequest, in any context?

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you done a sanity check by sending a *non*-Ajax request?
 
jen lemque
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've tried to send request in my widget google map and the emulator successfully receive and send http request and response..

according to the nokia s60 emulator user guide it can send and receive http request
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you added debug statements such as alerts and see if the code is executing?

Eric
 
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic