• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Declare more than one tag-file inside one .tld file

 
Greenhorn
Posts: 6
Hibernate Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

i have my tag files and .tld files packed in a single jar file

Here is the .tld file :



and here are the 2 tag files :

header.tag



selectElement.tag



Now, the problem is as the following :

whenever i'm trying to invoke the header tag from a JSP like this :


it gives the following error :

Multiple annotations found at this line:
- Missing required attribute
"name"
- Missing required attribute "size"
- Missing required attribute
"optionList"
- Tag (app:headerFile) must be
empty


it asks for attributes defined for the other tag file.

i tried to create 2 different .tld files and declare one tag-file per each, but i got the same problem.

appreciate your help regarding this problem
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic