Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post Parameter Socket Connection

 
James Ellis
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can post to a page with the following code:



However in the page I am posting to (AmIPosting.jsp), I cannot get the value of param1 that the above method should be sending. What am I doing wrong?

Thanks,
Jim
[ December 04, 2007: Message edited by: James Ellis ]
 
James Ellis
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know exactly what I was doing wrong...I think it had something to do with using the PrintWriter object, but anyway I got the code working now. The working code is below:

 
Joe Ess
Bartender
Posts: 9298
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like the old "don't println on a socket" bug.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic