Thanks for reply. I have similar code. It builds fine , but when I try to send data or upload file on tomcat server through Emulator I get IOException Method not supported HttpConnection.GET
When I use requestMethod as HttpConnection.GET or HttpConnection.POST I get Method not supported Exception in J2ME 2.2 Emulator. Please give the solution.