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.
I agree. Here's the link:
subject: Why are tag files used
Tag Files : Are they in exam ?
Error msg : 'pageContext' cannot be resolved in tag file
Componentized logic in views - what to use.
Container generated tld files - only for tag files?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014