Re: sneding Ajax call to jsp page

2009-02-10 Thread Keshav Prasad
You may want to google for some ajax+jsp tutorials, because this list is
primarily for tomcat specific questions.

On Wed, Feb 4, 2009 at 3:17 PM, Sneha Manohar wrote:

> 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/


sneding Ajax call to jsp page

2009-02-04 Thread Sneha Manohar
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/