Originally posted by Pradeep Bhat:
Hi,
I was just wondering if it possible to display tables using a single tag..may be we will be passing the column values of the table and other things like color, size etc as attributes..
But ur code looks fine to me. I agree with U -It is difficult to build a generic tag for displaying table tag. It will no doubt be a quite complicated stuff.
Thanks for clearing my doubt.
Indeed - more specifically, things like color and size are a function of the presentation tier, not the back-end. In
JSP 2.0, if you find yourself using a particular
pattern of JSTL tags frequently, you can write a JSP page that becomes its own new tag. (That's a little subtle, so if it seems confusing, don't worry about it for now -- it's just a feature in the future.)