I am newbie to this and couldn't find exact answer. I have special characters in a URL such as,
"&", "#", "?" "<"
it causes a problems. (If someone can suggest how to deal with such situation then it would be an additional help). My main problem is that, how can I represent a string literal in JAVA for following kind of URL ?
"x###y"
I learned that we need to put its hex
code value (using %
). Can someone suggest that exact answer to fix this URL problem ?