dcsimg

Where can I find a method that returns a properly escaped HTML string from a given string of raw HTML?

Rob Edmondson

You can find that method in java.net.URLEncoder.

ie: String Args = URLEncoder.encode("The raw data you want to encode");

[FAQ Manager note: See also How can an applet or application pass parameters to and read output from a CGI script? .]