Now, we're a friendly lot here and all, but what does this message
have to do with Struts?
Of course, I'm not helping things to point out to you that JavaScript
has built-in functions for encoding and decoding URIs, and any time
you construct a URL, you should be sure to encode your parameter
values, to avoid exactly the problem you are facing.
Joe
At 5:30 PM +0530 9/13/05, senthil Kumar wrote:
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&damemberId=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
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]