Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to do AJAX call from JSP.

 
Viidhya Kishore
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
My requirement is :
I need to create a temporary table and insert a record into it before page load.
when the page loads I fetch record from the temp table I created and show the table of records.

I am to use AJAX call for creating and inserting on page load while I display a timer to the user.

I have no idea about what is AJAX and how to use it in JSP.

Please help.

Vidhya
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since Ajax is a client-side mechanism, and by the time a JSP makes it to the browsers, it's just an HTML page, the fact that your page is a JSP is not relevant.

You can start learning about Ajax by reading this article.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic