Friday, November 25th, 2005

Apache Velocity: Speed up your Ajax

Category: Articles, Examples, Java

Dirk Rost has started a series of columns on how to build Ajax applications using the Apache Velocity templating language.

The first piece is the ubiquitous Live Search.

Dirk focuses on the server-side piece that make the following Ajax call work:

<input autocomplete="off" id="idMatch" 
name="match" size="30" type="text"> 

<div class="auto_complete" id="match_auto_complete" ></div>

<script type="text/javascript" language="javascript">
    new Ajax.Autocompleter('idMatch','match_auto_complete',

It seems to focus on server side Java code rather than Velocity template code at this point, but that will probably change :)

Posted by Dion Almaer at 10:19 am
1 Comment

3.3 rating from 23 votes

1 Comment »

Comments feed

I did something almost exactly the same on a project where I couldn’t use my normal AJAX methods. I found it to work out really well. Below is my original post on the subject.

Comment by John Christopher — November 26, 2005

Leave a comment

You must be logged in to post a comment.