Http connection output stream
1 posts in topic
Flat View  Flat View

Posted By:   Marika_Ludmann
Posted On:   Friday, January 3, 2003 04:15 PM

I am quite new to J2ME. Trying to use the GET and/or POST to send data from a Palm OS device to the server (localhost:8080) and back. I need to send a String from the Palm - to use as part of a database query - and receive the result of the query.

I am able to make a connection to a servlet or a jsp page, and get information from the server back to the Palm. However I don't seem to be able to send the information.

I have been reading Core J2ME Technology and MIDP from Sun Microsystems, which has an excellent example (chapter 14, GetNpost). When I try to run it I get the error: ClassDefNotFound

Can anyone point me in the right direction for some simple example in this area?

Re: Http connection output stream

Posted By:   rav_jakubczyk  
Posted On:   Thursday, April 3, 2003 12:56 AM

I think taht you haveto use chunked data trasfer this i sstandart for HTTP 1.0 your server have to simulate http connection ia such way HTTP /1.1 200 OK

try to read more about http protoclo specialy about its chuks
may be you have to simulate http by yousesf
About | Sitemap | Contact