• 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

Custom tags in jsp - .tld file doubt

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I have created two .tld files. Both has same <uri>, <name> and <function-class> but different <tlib-version>, <function-signature>.

file1:myTld.tld

file2:otherTld.tld


My problem is that which .tld file will invoke by my jsp uri?

Thanks,
Madhawi
 
Marshal
Posts: 67448
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeterminate. It is invalid for two TLDs to have the same URI.
[ November 04, 2008: Message edited by: Bear Bibeault ]
 
Madhawi Maurya
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I am executing my jsp page, it is not giving any problem and here i am using my otherTld.tld file. my class "DiceRoller.java" is as


and my jsp file "index.jsp"

[ November 04, 2008: Message edited by: Madhawi Maurya ]
 
You guys haven't done this much, have ya? I suggest you study this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic