• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tags vs tag libraries

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Aaron Roberts
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic