tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sneha Manohar <sneha_hams...@yahoo.co.in>
Subject sneding Ajax call to jsp page
Date Wed, 04 Feb 2009 09:47:26 GMT
Hi all ,
I am new to AJAX , I sending ajax request to jsp page ,
var url = "http://localhost:8084/Anoigma/handler/loginHandler.jsp?userId="+userId+"&pwd="+pwd; 
xmlhttp.onreadystatechange=state_Change;
    xmlhttp.open("GET",url,true);
    xmlhttp.send(null);
 
 jsp page validates user Id & pwd .
I wish to form response text from jsp loginHaandler.jsp with success or failure message ...
so that I can take proper action in state_Change method based on suceess or failure .
 
Thnaks 
Sneha


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message