I have a jsp on which I dispaly table of hyperlinks.
On click of hyperlink I have to do some processing in a servlet and display an error mesage on jsp if something goes wrong.
but the control should remain on the same jsp.
Is this possible without submitting the page?
posted 7 years ago
Sounds like a perfect application for AJAX. Libraries like Prototype and jQuery make it easy to kick off a request, collect the result, and update the HTML page accordingly without actually leaving the page.