URLs may not have spaces in them. If you want a space in the URL it must be encoded. The + symbol is used to replace a space when encoding a URL. There are various websites that will help with URL encoding/decoding. If when you have extracted the value from the URL still contains the encoded characters you will have to decode it yourself. You could use the static decode method supplied in the java.net.URLDecoder class. The API found (http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLDecoder.html) states it will decode the + back to a space. There is also a matching encoding class and static method. The API can be found at http://java.sun.com/j2se/1.3/docs/api/java/net/URLEncoder.html
Hope this helps. Q [ April 05, 2007: Message edited by: Quintin Stephenson ]
If at first you don't succeed, try, try again. If you don't try you have failed.