views:

870

answers:

1

hi, 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.

+3  A: 

Are you URLEncoding the password?

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

Staale