Kavitha
Kavitha

Reputation:

java.net.MalformedURLException: Illegal character in URL

I am working on struts.I am encrypting password in one application and passing encrypted password to another application through open url connection.Some times this works fine if i click on the link again system is throwing "java.net.MalformedURLException: Illegal character in URL".Please help me.

Upvotes: 0

Views: 6441

Answers (1)

Staale
Staale

Reputation: 27988

Are you URLEncoding the password?

http://java.sun.com/javase/6/docs/api/java/net/URLEncoder.html

Upvotes: 4

Related Questions