I've seen this done a million times but don't have a clue how its done. Is this where servlets are used? Anyone know how gmail does this?