0

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.

1
  • An edited section of code would really help solve this problem. Commented Feb 2, 2009 at 9:35

1 Answer 1

4

Are you URLEncoding the password?

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.