Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem using http post over j2me

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 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: 42967
73
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
try with this .....





Regards

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic