File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Data encoding when using HttpURLConnection to POST data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Data encoding when using HttpURLConnection to POST data" Watch "Data encoding when using HttpURLConnection to POST data" New topic
Author

Data encoding when using HttpURLConnection to POST data

Dave Robbins
Greenhorn

Joined: May 26, 2004
Posts: 7
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

Joined: May 26, 2004
Posts: 7
duh
UrlEncoder
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Data encoding when using HttpURLConnection to POST data
 
Similar Threads
DELETE http request in HttpURLConnection....
applet to IIS via sockets
How far can you take HttpURLConnection
tracing post parameter
Http Post