URL Open problem

Hi all i have a problem to open a url using java class and java object and giving me this error if any one know pls tell me this solution

java.io.IOException: Server returned HTTP response code: 505 for URL: http://10.100.10.22:9080/googleMap/index.jsp?address=Helgolandsgade 15,1653 Copenhagen V,Denmark

Subject: 505 = Wrong HTTP Version

505 HTTP Version Not Supported

The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. The server is indicating that it is unable or unwilling to complete the request using the same major version as the client, as described in section 3.1, other than with this error message. The response SHOULD contain an entity describing why that version is not supported and what other protocols are supported by that server.

I think in this case it’s just the URL ist NOT properly encoded.

The URL should not contain anything like " " or “,”. Better encode this to

/index.jsp?address=Helgolandsgade%2015%2C1653%20Copenhagen%20V%2CDenmark

Learn more about encoding at

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

hth

alex