This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A simple JSP tag question  RSS feed

 
Artemesia Lakener
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
new to custom tag. I have about 5 different JSP pages that need to have some common part. So I want to "take out" this common part (html with some customization, calculation, etc) and put in one tag library, so that all 5 pages can call it and use it. Is it required that each tag library can only be used by one JSP page ? or can be used by any number of JSPs ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the major points of custom actions (tags) is reuse. So yes, they can be used across multiple pages.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!