wood burning stoves*
The moose likes JSP and the fly likes Custom tags in jsp - .tld file doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Custom tags in jsp - .tld file doubt" Watch "Custom tags in jsp - .tld file doubt" New topic
Author

Custom tags in jsp - .tld file doubt

Madhawi Maurya
Ranch Hand

Joined: Aug 22, 2007
Posts: 42
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

file2therTld.tld


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

Thanks,
Madhawi


SCJP1.5 with 90%
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60781
    
  65

Indeterminate. It is invalid for two TLDs to have the same URI.
[ November 04, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Madhawi Maurya
Ranch Hand

Joined: Aug 22, 2007
Posts: 42
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom tags in jsp - .tld file doubt
 
Similar Threads
TLD file
how to get .tld file working
Regarding TLD
can tld have more than 1 function signature?
HFSJ page 390