Reputation: 3359
does anybody know an elegant way how to reuse jsp custom tags in multiple projects? The only thing that I can think of is creating a jar every time with the classes that extend custom tag, putting it into the multiple projects, and separately putting the .tld and jsp files.
Upvotes: 1
Views: 257
Reputation: 68962
You should combine several tags which are related to a specific topic (db, validation etc.) into one tag library for reuse in multiple projects. JSPs don't belong to a tag library.
See also Tag Libraries tutorial
Upvotes: 1