tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keshav Prasad <kprasad.t...@gmail.com>
Subject Re: sneding Ajax call to jsp page
Date Wed, 11 Feb 2009 02:22:56 GMT
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 <sneha_hamsini@yahoo.co.in>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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message