Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use setRequestProperty correctly?  RSS feed

 
Zoe Peng
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone can give me an example how to do the Connection.setRequestProperty correctly?
I try to use setRequestProperty(String key, String value) to request server post data again. But, it seems not working ..
Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!