aspose file tools
The moose likes JSP and the fly likes tags vs 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 "tags vs tag libraries" Watch "tags vs tag libraries" New topic
Author

tags vs tag libraries

Aaron Roberts
Ranch Hand

Joined: Sep 10, 2002
Posts: 174
I had posed a question earlier this week about what makes a 'good' jsp page. I wanted to ask a specific question about the new tag files for JSPs. I think using the new JSP 2.0 tag files over compiled tag libraries is a great thing. It certainly appears to keep things separated when using an MVC setup. It seems to make it much easier for web page maintainers.
Do you think tag files should be used as often as possible to replace tag libraries?
What would a good balance be?
Where would you not want to use the new tag files?
Regards,
Aaron R>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56202
    
  13

Tag files are great for when the primary output of the tags is JSP/HTML. If the tag needs to do a lot of processing, I prefer traditonal Java-based tags.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Aaron Roberts
Ranch Hand

Joined: Sep 10, 2002
Posts: 174
I was hoping you would chime in Bear. The new tag files just seem like a great idea. Its too bad tags didn't start this way and then evolve into the more advanced tag library setup.
Regards,
Aaron R>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: tags vs tag libraries
 
Similar Threads
How do I add custom tag libraries in a JSP page?
taglib vs. JSP 2.0 tagfile
Newbie question on JSP/Tomcat/MySql
jsp:forward problem
attribute tag v/s attribute directive