SBel
SBel

Reputation: 3359

reusing jsp custom tags in multiple projects

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

Answers (1)

stacker
stacker

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

Related Questions