• Post Reply Bookmark Topic Watch Topic
  • New Topic

A simple JSP tag question

 
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: 65518
105
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!