Author
Do Tag files hold advantages over JSP include?
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
Hey,
Does Tag files has any advantages over JSP fragments included via JSP include?
Thanks for help and time.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
posted Aug 04, 2010 18:05:53
0
Yes.
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
Like what?
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
posted Aug 04, 2010 18:15:00
0
Think about how they're different: a tag has arguments and all that goes along with them. They're also namespaced, which may add additional structural and semantic information. They're also (marginally) more work, for the same reasons.
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
Vastly superior.
[Smart Questions ] [JSP FAQ ] [Books by Bear ] [Bear's FrontMan ] [About Bear ]
Hussein Baghdadi
clojure forum advocate
Bartender
Joined: Nov 08, 2003
Posts: 3359
Bear Bibeault wrote: Vastly superior.
Would please you tell us in which ways?
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
Just think about it for a minute...
Are there formal semantics for include files? How do you pass information to an include file? Is it clear? Can you document this information? Can you assign types this information? Is there a tool that can create documentation for the include files? Yadda yadda yaddsa...
subject: Do Tag files hold advantages over JSP include?