you may want to go with c taglibs here as it is a little cleaner.