This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I add multiple taglib's to my deployment descriptor?  RSS feed

 
Nate deBrom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have several custom tags that i want to use, but i get a
JSP Parsing Error: No tag "registered" defined in tag library imported with prefix "dtd".
(registered is the name of my tag)
I get this error if i try to define more than one taglib in my web.xml file. Each custom tag works on their own when only one tld file is defined in my web.xml.
Oh, and i'm also using Eclipse 3.0 with Lomboz.

Any help is appreciated
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whatever the problem is, you can define as many taglibs in the deployment descriptor as you like as long as they specify unique prefixes.
 
Nate deBrom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if they specify the same uri, why can't i use the same prefix?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you declare the same uri/prefix combo twice?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!