Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi all,
i have problem in sending data to the server. although this topic was discussed many times , i have a doubt. if i hardcode the data and send im able to send it to the server.. but if i enter the data in a text box and submit it using submit buttons it is not retrieved by the server.. can anyone help me..

Try to use some packet sniffer on your server side, like "Ethereal", to check what's being send from the handset/emulator...
Then, try to check what's the difference between hardcoding your data and sending from textbox data...

Try to use some packet sniffer on your server side, like "Ethereal", to check what's being send from the handset/emulator...
Then, try to check what's the difference between hardcoding your data and sending from textbox data...

Quote:Try to use some packet sniffer on your server side, like "Ethereal", to check what's being send from the handset/emulator...
Then, try to check what's the difference between hardcoding your data and sending from textbox data...
hi bulach,
i have used "Ethereal" on the server side.. im able to get the hardcoded data send from the simulator.. but when i enter a text or number in the textbox of an html page and send it , im not able to retrieve the data.. is there any method to get the contents of the textbox using ihtmlviewer ?
just see this thread... im facing a similar problem
http://brewforums.qualcomm.com/showthread.php?t=8155
my problem is "2) how can I retrieve text from specific text box."

Quote:Try to use some packet sniffer on your server side, like "Ethereal", to check what's being send from the handset/emulator...
Then, try to check what's the difference between hardcoding your data and sending from textbox data...
hi bulach,
i have used "Ethereal" on the server side.. im able to get the hardcoded data send from the simulator.. but when i enter a text or number in the textbox of an html page and send it , im not able to retrieve the data.. is there any method to get the contents of the textbox using ihtmlviewer ?
just see this thread... im facing a similar problem
http://brewforums.qualcomm.com/showthread.php?t=8155
my problem is "2) how can I retrieve text from specific text box."

So when you use IHTMLVIEWER_GetViewState and send this data .. you dont get anything on the server ????
Lemme know if you resolved this issue. I do something similar in one of my applets and didnt have any issues so was just curious.
Regards

So when you use IHTMLVIEWER_GetViewState and send this data .. you dont get anything on the server ????
Lemme know if you resolved this issue. I do something similar in one of my applets and didnt have any issues so was just curious.
Regards