Hi,

try it like this:

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=" + u + "&pwd=" +p;

Cheers Jochen

-----Original Message-----
From: B.V.Murali Krishna [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2000 08:17
To: [EMAIL PROTECTED]
Subject: Passing Query String with URL


hi all,
   I am using a javascript function in Jsp, where i am calling another Jsp
and passing a query string with it. The problem is that the query string
paramater values which are javascript variables are not converted to their
values.

onclick="go_to(user.value,pwd.value)"></td>
function go_to(u,p) {
 alert(u);
 alert(p);

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=u&pwd=p"
 }

The values are user is retrieving as u and not the values same for pwd.

Can someone please help me.

Thank in advance,

Regards,

MURALI KRISHNA BALUSA
VELOCIENT TECHNOLOGIES
NEW DELHI.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to