File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using http post over j2me

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am trying to use j2me client to post data to a servlet using Post type.
Now the problem is that I am able to hit the servlets doPost method, However the data sent over to https request is not being captured and every time I am getting null.

What I am doing is





However I am getting no data on the server side.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the problem manifests itself on the server side, wouldn't it make more sense to post that code?

It looks like there's a "&" missing in front of "submit", and what's the "?" doing in front of "username"? POST data is not an URL.
 
Gopinath Karyadath
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
try with this .....





Regards

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic