JSTL, Taglibs and Capitalizing

After spending at least an hour of searching for an easy way of just capitalizing a string in a JSP, finding nothing and then starting on my own taglib do to the work, I finally found what I was looking for. The Jakarta String Taglib’s capitalize function! Amazingly enough, the documentation were not a good hit on Google, and it took quite some time to actually get the Google Fu correct. I stumbled across the documentation after searching for jakarta taglib (as JSTL is the Jakarta Standard TagLib) and rediscovered the other taglibs available from Apache Jakarta. Solved my problem in a second or two, and I hopefully never have to further endulge in writing my own taglib without keeping it as a separate JAR-file again.

Leave a Reply

Your email address will not be published.