i have a jsp page and a controller. when each time i clicked something in the jsp page, it calls the servlet code and it returns some result.
consider, it returns "one" at the first time. (some variable = "one") that result is assigned to some variable.
after that, if i click again, the control is forwarded to the same servlet. this time it may return some other result.
consider, it returns "two" at this time. already i had a variable with one as its value.
this time i append the new result with that. now the variable has "one two" as its value.
when each time i click something, the result has to be appended in some variable.