Title: Anyone doing their own taglib?

Hi All,

I have implemented a few simple tags that use attributes and parameters.  I would like to use JSP to keep presentation(formatting) separate from content and processing.  It seems to me that tag libs need to be able to return a list, vector, array, enum, or some other multi-part form of data, rather than printing directly to out.println.  As it is, it seems tags are forced to place HTML formatting statements in the taglib implementation when returning more than one item in a single call.  Then, presentation is mixed into the processing and content returned by the tag.  Shouldn't the tag be able to return data that can be formatted differently without changing the tag implementation?  Maybe as objects in the session??

Thanks,
Vick Fisher
TEOCO, Fairfax, VA


Reply via email to