Can we call a servlet from a JSP, come back and display the response data we get from the servlet in the same JSP? Is it possible to do that?
Basically, I have a pop up in which the user gives some input. I pass this to the servlet and the servlet gives me an acknowledgement number. I would like to display this acknowledgement number in the same pop up.
In the meantime, during which the servlet gives the response, I can display an hour glass in the pop up. Is this possible?
Someone please help me with an example please.