File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Why are tag files used
Joined: Jan 04, 2009
May 02, 2010 10:46:22
Why do we use tag files instead of jsp:include and c:import?
Author and ninkuma
Joined: Jan 10, 2002
May 02, 2010 10:49:44
There could be many reasons, but for me it boils down to one word: parameterization.
Asking smart questions
Books by Bear
Joined: Sep 29, 2008
May 02, 2010 13:01:19
They're kind of different things, too: tags are generally intended to encapsulate behavior, can do things to their bodies, etc. Includes are primarily focused on presentation only, don't "do" anything, and so on.
It is sorta covered in the
JavaRanch Style Guide
subject: Why are tag files used
Error msg : 'pageContext' cannot be resolved in tag file
Tag Files : Are they in exam ?
Container generated tld files - only for tag files?
Componentized logic in views - what to use.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014