It's important to keep in mind what AJAX technology is and does:
AJAX technology allows you to retrieve data from the server, from a webpage, without reloading that webpage. It's primary use is to spice up HTML forms, for example, to automatically look up the city and street when someone enters his postal code.
This means that it does not matter how your pages are built. You need two thing:
1) the final HTML you send to the client browser contains the necessary Javascript code to fire an Ajax request
2) your server has some
servlet or script that can receive the ajax requests and send the response you need for your script to work
SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1