Thread: Jsp with Ajax
View Single Post
  #17 (permalink)  
Old 09-25-2008, 12:29 PM
sagarbirari sagarbirari is offline
Member
 
Join Date: Sep 2008
Posts: 17
sagarbirari is on a distinguished road
I understand your problem
you want to use jsp for processing.
use following code add jsp page path
xhr.open("GET","jsp_path_here", true);

Then access variable in JSP page, add code for processing
After that use "out" object of jsp of JSP page.
like out.println("your data");

Then As you know how to fetch variable in Ajax
Rest of code like you are using servlet for ajax
__________________
Sagar Birari

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote