This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag URI not found  RSS feed

 
Sunil Chandurkar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the /WEB-INF/myFunctions.tld file
I have two uri's
<uri>DiceRoller</uri>
<uri>randomThings</uri>


In the Jsp:

<%@ taglib prefix="mine" uri="randomThings" %>

Error message says file "/randomThings" not found.

Please Advise.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you have two uri in your TLD ? There should be at most one uri.
 
Sunil Chandurkar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had two URIs because I had two functions. Anyways, it worked when I deleted the DiceRoller URI.

Thanks
Sunil
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65898
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sunil Chandurkar:
I had two URIs because I had two functions.
The URI is for the whole library, not individual elements within it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!