aspose file tools*
The moose likes JSP and the fly likes tags vs tag libraries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
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: 61760
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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://aspose.com/file-tools
 
subject: tags vs tag libraries