Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doPost method  RSS feed

 
Amitabh Sinha55555
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Forum member my problem relates to the doPost method it goes as follows:
i have to call doPost method of servlet from a swing
form.Now for that u have to open a URL and
urlconnection and make a printwirter object.
i tried this but its not working.


[This message has been edited by Marcela Blei (edited June 06, 2001).]
 
Marcela Blei
Ranch Hand
Posts: 477
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amitabh: I �m moving this post to the Sockets and Internet Protocols forum where you are going to get more help about your question.
[This message has been edited by Marcela Blei (edited June 08, 2001).]
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't appear by your logic that the post String is getting formatted properly. I think I've captured all your problems and rules. This is how I would solve this. Note, because I fully form the Post String I can see what I'm sending and possibly what is preventing the proper post of information.

------------------
Hope This Helps
Carl Trusiak, SCJP2

[This message has been edited by Carl Trusiak (edited June 10, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!