seoirse
asked on
How to encode a hyper link string
Hi,
I ahve tried to encode a hyperlink to get rid of spaces passed through ina querystring. however I keep getting errors saying that "URLEncode" is either a misplaced package name or a non-existent entity.
Can you give me an example of how my encoding should work?
my test is as follows java.net.URLEncode.encode( "my test d data");
I ahve tried to encode a hyperlink to get rid of spaces passed through ina querystring. however I keep getting errors saying that "URLEncode" is either a misplaced package name or a non-existent entity.
Can you give me an example of how my encoding should work?
my test is as follows java.net.URLEncode.encode(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
cheers for teh help guys. both of you were correct
java.net.URLEncode'r'.enco
Don't worry...happens to the best of us! :-)
Marius