aspose file tools*
The moose likes JSP and the fly likes Do we have write seperate .tld files for each EL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Do we have write seperate .tld files for each EL?" Watch "Do we have write seperate .tld files for each EL?" New topic
Author

Do we have write seperate .tld files for each EL?

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
I am preparing for SCWCD. Very basic question

See the following JSP code


I have written two seperate .tld file for random Number and Random Name EL.

Random Number:


The for Random Name:


Now my question is can i club there two seperate uri in one single tld file rather than two seperate file. When I tried to do that there was an exception saying uri NameFunction is not found.

Please Help me.

regards

Anil Deshpande


Anil Deshpande
SCJP 1.5, SCWCD 1.5
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

That's one uri per TLD. So it should look like :

and


[My Blog]
All roads lead to JavaRanch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61589
    
  67

Why not put them in a single library?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
How to do it? Can you give me the code. Just rearrange my existing code as a demonstration.

Please, That would be of great help
Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
oh I got it, thanks a lot
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do we have write seperate .tld files for each EL?