See example:
$.ajax({
   type: "POST",
   url: "SERVLET.do",
   data: "id=1&location=Minsk",
   success: function(msg){
     //'msg' - is your returned html file
     $(document).html(msg); // this function replace your current page
to returned page
   }
 });

   Gk___




2009/10/18 ajith...@gmail.com <ajith...@gmail.com>:
>
> i have used jquery to maek an ajax call to the servlet .
> the servlet is returning an HTML file , how can display the contents
> of the HTML file .
> please reply fast .....
>

Reply via email to