This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to do AJAX call from JSP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to do AJAX call from JSP." Watch "how to do AJAX call from JSP." New topic
Author

how to do AJAX call from JSP.

Viidhya Kishore
Ranch Hand

Joined: Jan 03, 2007
Posts: 99
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

Joined: Jan 10, 2002
Posts: 62136
    
  68

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: how to do AJAX call from JSP.