[CODE]#include<stdio.h>
int main(){
int a=5,b=10;
a=a+b-(b=a);
printf("\na= %d b= %d",a,b);
getch();
}[/CODE]

I am working on a project on online e-commerce website.My requirement is that when a user clicks on "Add to cart" option some queries will be sent to the database and no redirection will take place.how to do this using jsp.(I don't know javascript).