Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Data encoding when using HttpURLConnection to POST data  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have an applet that uses a HttpURLConnection to post data back to the server it came from. I've run into trouble when the data contains special charcters like $, &, % etc. I think I'm supposed to encode the data somehow but don't know how. Anybody have a link or some quick advice on how to handle this situation??

Thanx
Dave
 
Dave Robbins
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
duh
UrlEncoder
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!