Hi, I am new to Tag libs and trying to dip my fingures into it. I find that they do similar job as a Java bean do? Am I wrong ? Can any body tell me what's the advantage of Tag Libs over Java Beans. Regards, Mustang.
Hi there, This is one of those topics that comes up quite frequently so you could try doing a search for more information, but basically it's best to use JavaBeans for data and tags for actions. I did a session at JavaOne last year called "Custom tags vs. JavaBeans", the slides for which can be downloaded in PDF format from my website at http://www.simongbrown.com. Click "Conferences" on the left-hand side. This should give you a good overview, but for a much, much more detailed overview of some of the other reasons behind this (tag pooling, tags being short-lived container-managed components, etc), it's all covered in chapter 8 of my new book - Professional JSP Tag Libraries. Hope that helps Simon
I've just been sorting out getting hold of the sample chapters for my book and as a weird coincidence, the chapter on Tag Patterns is one of them, available to download in PDF. Simon ( thanks Ersin ) [ June 06, 2002: Message edited by: Simon Brown ]
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss