Hi Senthil,

You will have to encode the password. Have a look at the Jakarta commons
codec library http://jakarta.apache.org/commons/codec/, they have a
org.apache.commons.codec.net.URLCodec that should help you.

Yours truly,

Ron

-----Original Message-----
From: senthil Kumar [mailto:[EMAIL PROTECTED] 
Sent: 13 September 2005 15:01
To: Struts Users Mailing List
Subject: URL encoding problem.

Hi all.,

I have a problem with passing parameter from JSP to Servelt.
I am passing the meetingId ,memberId , userName , password  these four
parameres to Servelt.

'password' is one way hashed format, i get it from DataBase and passing
by URL encoding like follows.

http://localhost:8080/cmis/chat/guj.com.br?page=frames&dameetingId=18&da
memberId=13&dausername=chuck&dapassword=tDVZCOmOg+WF1vqum+MzEQ==

in servlet  i am getting password like 

String  password = req.getParameter("dapassword");

it gives  tDVZCOmOg WF1vqum+MzEQ==
but actaul password id tDVZCOmOg+WF1vqum+MzEQ==.     The '+' is missing
and it take it as a 'Space'.

How can I resolve it. Any other way to getexact hashed password.

I  am getting other values exactly.

While passing, I am calling this function.
function OpenChatWindow(meetingId ,memberId , userName , password) { 
chatWindow =
window.open(""+document.forms[0].hostServerOnlineMeetingUrl.value+"chat/
wel.com.chat?page=frames&dameetingId="+meetingId+"&damemberId="+memberId
+"&dausername="+userName+"&dapassword="+password+"","_blank");
 
}
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient or received it in
error, please contact the sender by reply e-mail and destroy all copies
of the original message. Please do not copy it for any purpose or
disclose its contents.

Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights
Reserved
 
E-Mail Disclaimer 
 
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.


For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, 
publication, 
reproduction, copying or disclosure of the content of this e-mail is not 
permitted. 
This message is exclusively for the person addressed or their representative. 
If you are not the intended recipient of this message and its contents, please 
notify the sender immediately.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to