I was wondering what is the best way to implement an ellipsis abbreviation with JSP / Expression Language.

For now, I've been using fn:substring, which is ok, but I would like to have the three dots "...", in case the text was truncated.

With a web search I found that [Java Web Parts](http://javawebparts.sourceforge.net/) has an [AbbreviateTag](http://javawebparts.sourceforge.net/javadocs/javawebparts/taglib/basicstr/AbbreviateTag.html). However I was wondering if there are better libraries, or if it's better I roll my own custom tag. What do you suggest?