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