This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP 2.0 deal with custom tag libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "JSP 2.0 deal with custom tag libraries" Watch "JSP 2.0 deal with custom tag libraries" New topic
Author

JSP 2.0 deal with custom tag libraries

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
There�s two features when JSP 2.0 deal with custom tag libraries:
SimpleTag interface and tag extensions (tag files).
In the most current JEE application, which one is more popular and why?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56202
    
  13

Both.

Java-based tags extending SimpleTag are most appropriate for tags that perform calculations or other non-view actions that are best expressed in Java.

Tag files are most approriate for view-centric actions that are best expressed in JSP.

I use both in my applications, choosing whichever is the tool best-suited to implement a custom action.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP 2.0 deal with custom tag libraries
 
Similar Threads
what is the use of custom tag libraries?
taglib vs. JSP 2.0 tagfile
JSTL c:out tag
JSP Tags in Jbuilder 6
difference between tag and tld