home > overview

AjaxTags Tutorial (Part 1)




AjaxTags Part-1

In my previous articles, Using Ajax with PHP and Using Ajax with Java Technologies, I tried to discuss the JavaScript code segment required for sending Asynchronous HTTP requests and getting responses. AjaxTags is an open source project that provides JSP tags for developing Ajax based web applications in Java technologies without adding JavaScript codes in your JSP pages. In short, AjaxTags is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in Java Server Pages.

Installing AjaxTags:

In this article we will try to use AjaxTags in JSP pages, but first we need to install AjaxTags.
To use the tag library, you'll need the following:
1. JDK 1.5+
2. Servlet container running Servlets 2.3+ and JSP 1.0+: I’ll use Tomcat server.
3. Download and copy Prototype (prototype.js) from http://www.prototypejs.org/assets/2007/6/20/prototype.js , currently AjaxTags depends upon version 1.5.0
4. Download and copy Scriptaculous library from http://script.aculo.us/dist/scriptaculous-js-1.7.0.zip , currently AjaxTags depends upon version 1.7.0
5. Download and copy OverLIBMWS library from http://www.macridesweb.com/oltest/overlibmws.zip

Note: AjaxTags distribution also includes JavaScript files, CSS files and other libraries.

After downloading the binary distribution of AjaxTags, you need to extract the compressed (.zip) file and copy the ajaxtags-1.3.jar in your WEB-INF/lib directory. This distribution also has a .tld ... [Read Full Article]


click here to see original article or to find similar articles


 RSS DAILY HEADLINES

HEADLINES

Lieberman risks payback from Democrats

Sept. 2: Sen. Joe Lieberman, I-Conn., explains to delegates that he is at the RNC, not as a Republican or Democrat, but to support John McCain because he is the “best choice to bring our country together and lead our country forward.”  (MSNBC)Senate Democrats hinted at payback for Sen. Joe Lieberman, who called Barack Obama an untested candidate beholden to Democratic interest groups in a prime-time GOP convention address.


China imposes Ramadan security crackdown in Muslim northwest (AFP)

Police search ethnic Uighurs in Kashgar. Authorities in China's Muslim-populated far northwest are seeking to prevent mass prayers and the distribution of religious material as part of a security crackdown for Ramadan(AFP/Peter Parks)AFP - Authorities in China's Muslim-populated far northwest are seeking to prevent mass prayers and the distribution of religious material as part of a security crackdown for Ramadan, government notices said.


Rice set for historic Libya visit, meeting Gaddafi (Reuters)

Secretary of State Condoleezza Rice smiles as she arrives at Tbilisi airport July 9, 2008. (David Mdzinarishvili/Reuters)Reuters - Condoleezza Rice travels to Libya on Friday, the first trip there by a U.S. secretary of state in 55 years, signaling improved ties between the two countries.